Skip to content

Commit 46f56ba

Browse files
committed
docs(formatting): bringing attention to certain beta14 related concepts
1 parent 0f5bed6 commit 46f56ba

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

js/angular/directive/menuToggle.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
* </ion-nav-buttons>
1919
* </ion-nav-bar>
2020
* ```
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
2424
* level side-menu page. Navigating in to child views will hide the menu-
2525
* 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+
*
2929
* ```html
3030
* <ion-side-menus enable-menu-with-back-views="true">
3131
* ```

js/angular/directive/navButtons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* example, a toggle button for a left side menu should be on the left side; in this case,
2626
* we'd recommend using `side="left"`, so it's always on the left, no matter the platform.
2727
*
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
2929
* `ion-nav-bar` element (basically, don't wrap it in another div).
3030
*
3131
* @usage

js/angular/directive/sideMenus.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ IonicModule
1616
* `ion-side-menu-content`, so that when the element is clicked, the opened side menu will
1717
* automatically close.
1818
*
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+
*
1924
* By default, side menus are hidden underneath their side menu content and can be opened by swiping
2025
* the content left or right or by toggling a button to show the side menu. Additionally, by adding the
2126
* {@link ionic.directive:exposeAsideWhen} attribute directive to an

js/angular/directive/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
* ## View LifeCycle and Events
3838
*
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
4040
* affect your controller logic. To know when a view has entered or left, events
4141
* have been added that are emitted from the view's scope. These events also
4242
* contain data about the view, such as the title and whether the back button should

0 commit comments

Comments
 (0)