ion-side-menu
Child of ionSideMenus
A container for a side menu, sibling to an ionSideMenuContent
directive.
Usage
<ion-side-menu
side="left"
width="myWidthValue + 20"
is-enabled="shouldLeftSideMenuBeEnabled()">
</ion-side-menu>
For a complete side menu example, see the
ionSideMenus
documentation.
API
Attr | Type | Details |
---|---|---|
side |
string
|
Which side the side menu is currently on. Allowed values: 'left' or 'right'. |
is-enabled
(optional)
|
boolean
|
Whether this side menu is enabled. |
width
(optional)
|
number
|
How many pixels wide the side menu should be. Defaults to 275. |