File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
* @usage
11
11
* Below is an example of a link within a side menu. Tapping this link would
12
- * automatically close the currently opened menu
12
+ * automatically close the currently opened menu.
13
13
*
14
14
* ```html
15
15
* <a menu-close href="#/home" class="item">Home</a>
Original file line number Diff line number Diff line change @@ -12,11 +12,18 @@ IonicModule
12
12
* and/or right side menu to be toggled by dragging the main content area side
13
13
* to side.
14
14
*
15
+ * To automatically close an opened menu you can add the {@link ionic.directive:menuClose}
16
+ * attribute directive. Including the `menu-close` attribute is usually added to
17
+ * links and buttons within `ion-side-menu` content, so that when the element is
18
+ * clicked then the opened side menu will automatically close.
19
+ *
15
20
* 
16
21
*
17
- * For more information on side menus, check out the documenation for
18
- * {@link ionic.directive:ionSideMenuContent} and
19
- * {@link ionic.directive:ionSideMenu}.
22
+ * For more information on side menus, check out:
23
+ *
24
+ * - {@link ionic.directive:ionSideMenuContent}
25
+ * - {@link ionic.directive:ionSideMenu}
26
+ * - {@link ionic.directive:menuClose}
20
27
*
21
28
* @usage
22
29
* To use side menus, add an `<ion-side-menus>` parent element,
You can’t perform that action at this time.
0 commit comments