File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 *
1010 * @usage
1111 * 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.
1313 *
1414 * ```html
1515 * <a menu-close href="#/home" class="item">Home</a>
Original file line number Diff line number Diff line change @@ -12,11 +12,18 @@ IonicModule
1212 * and/or right side menu to be toggled by dragging the main content area side
1313 * to side.
1414 *
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+ *
1520 * 
1621 *
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}
2027 *
2128 * @usage
2229 * To use side menus, add an `<ion-side-menus>` parent element,
You can’t perform that action at this time.
0 commit comments