File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 18
18
* </ion-nav-buttons>
19
19
* </ion-nav-bar>
20
20
* ```
21
- *
22
- *
23
- * **Note**: By default, the menu toggle button will only appear on a root
21
+ *
22
+ * ### Button Hidden On Child Views
23
+ * By default, the menu toggle button will only appear on a root
24
24
* level side-menu page. Navigating in to child views will hide the menu-
25
25
* toggle button. They can be made visible on child pages by setting the
26
- * enable-menu-with-back-views attribute of the {@link ionic.directive:ionSideMenus}
27
- * directive to true.
28
- *
26
+ * enable-menu-with-back-views attribute of the {@link ionic.directive:ionSideMenus}
27
+ * directive to true.
28
+ *
29
29
* ```html
30
30
* <ion-side-menus enable-menu-with-back-views="true">
31
31
* ```
Original file line number Diff line number Diff line change 25
25
* example, a toggle button for a left side menu should be on the left side; in this case,
26
26
* we'd recommend using `side="left"`, so it's always on the left, no matter the platform.
27
27
*
28
- * Note that `ion-nav-buttons` must be immediate descendants of the `ion-view` or
28
+ * *** Note*** that `ion-nav-buttons` must be immediate descendants of the `ion-view` or
29
29
* `ion-nav-bar` element (basically, don't wrap it in another div).
30
30
*
31
31
* @usage
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ IonicModule
16
16
* `ion-side-menu-content`, so that when the element is clicked, the opened side menu will
17
17
* automatically close.
18
18
*
19
+ * "Burger Icon" toggles can be added to the header with the {@link ionic.directive:menuToggle}
20
+ * attribute directive. Clicking the toggle will open and close the side menu like the `menu-close`
21
+ * directive. The side menu will automatically hide on child pages, but can be overridden with the
22
+ * enable-menu-with-back-views attribute mentioned below.
23
+ *
19
24
* By default, side menus are hidden underneath their side menu content and can be opened by swiping
20
25
* the content left or right or by toggling a button to show the side menu. Additionally, by adding the
21
26
* {@link ionic.directive:exposeAsideWhen} attribute directive to an
Original file line number Diff line number Diff line change 36
36
*
37
37
* ## View LifeCycle and Events
38
38
*
39
- * Views can be cached, which means *controllers normally only load once*, which may
39
+ * Views can be cached, which means *** controllers normally only load once** *, which may
40
40
* affect your controller logic. To know when a view has entered or left, events
41
41
* have been added that are emitted from the view's scope. These events also
42
42
* contain data about the view, such as the title and whether the back button should
You can’t perform that action at this time.
0 commit comments