docs(menu): reflect default overlap trigger behavior (#16125)

Fixes the menu docs still referring to the old `overlapTrigger` behavior.

Fixes #16123.
This commit is contained in:
Kristiyan Kostadinov
2019-05-31 22:57:27 +02:00
committed by Andrew Seguin
parent 612a73892e
commit 09427f5d1b
+4 -4
View File
@@ -52,10 +52,10 @@ Menus support displaying `mat-icon` elements before the menu item text.
### Customizing menu position
By default, the menu will display below (y-axis), after (x-axis), and overlapping its trigger.
The position can be changed using the `xPosition` (`before | after`) and `yPosition`
(`above | below`) attributes. The menu can be be forced to not overlap the trigger using
`[overlapTrigger]="false"` attribute.
By default, the menu will display below (y-axis), after (x-axis), without overlapping
its trigger. The position can be changed using the `xPosition` (`before | after`) and `yPosition`
(`above | below`) attributes. The menu can be forced to overlap the trigger using the
`overlapTrigger` attribute.
```html
<mat-menu #appMenu="matMenu" yPosition="above">