Ionic side menu
Ionic side menus also consist of multiple directives that help in achieving a layout with one or many side menus. It defines the layout of a section of your app. All the directives for this purpose are defined in this section.
The <ion-side-menus> directive
It is container for the ionSideMenu
directive and the main content. A left-side menu, right-side menu, or both can be added to the layout of your app. This directive/element must have at least two children, one should be an <ion-side-menu-content>
directive, which will load the views of the app, and one or more <ion-side-menu>
.
The different attributes available to be used with this directive are as follows:
Attribute |
Type |
Details |
---|---|---|
|
|
This attribute determines whether the side menu is enabled when the back button is showing. If it is set to |
|