ember-cli addon for @material/menu
.
ember install ember-cli-mdc-menu
Add a menu component to the page.
-
open
- Trigger the surface to open; sets tofalse
when closed. -
anchor
- Optional anchor point for the menu surface. Default is"parent"
, but can also be"body"
. -
quickOpen
- Enable quick open. -
position
- Optional position of the menu surface. -
positionLeft
- Left position of the menu (works only in absolute mode). -
positionTop
- Top position of the menu (works only in absolute mode).
Use the <MdcMenuList>
to add items to the menu.
The <MdcListDivider>
component is used to a divider between menu items.
The {{mdc-menu-selection-group}}
block component is used to select between
a group of menu items.