diff --git a/js/angular/directive/menuClose.js b/js/angular/directive/menuClose.js index 801ca34391c..0d6c1ab39db 100644 --- a/js/angular/directive/menuClose.js +++ b/js/angular/directive/menuClose.js @@ -9,7 +9,7 @@ * * @usage * Below is an example of a link within a side menu. Tapping this link would - * automatically close the currently opened menu + * automatically close the currently opened menu. * * ```html * Home diff --git a/js/angular/directive/sideMenus.js b/js/angular/directive/sideMenus.js index ee59a53c6a0..84579a7a999 100644 --- a/js/angular/directive/sideMenus.js +++ b/js/angular/directive/sideMenus.js @@ -12,11 +12,18 @@ IonicModule * and/or right side menu to be toggled by dragging the main content area side * to side. * + * To automatically close an opened menu you can add the {@link ionic.directive:menuClose} + * attribute directive. Including the `menu-close` attribute is usually added to + * links and buttons within `ion-side-menu` content, so that when the element is + * clicked then the opened side menu will automatically close. + * * ![Side Menu](http://ionicframework.com.s3.amazonaws.com/docs/controllers/sidemenu.gif) * - * For more information on side menus, check out the documenation for - * {@link ionic.directive:ionSideMenuContent} and - * {@link ionic.directive:ionSideMenu}. + * For more information on side menus, check out: + * + * - {@link ionic.directive:ionSideMenuContent} + * - {@link ionic.directive:ionSideMenu} + * - {@link ionic.directive:menuClose} * * @usage * To use side menus, add an `` parent element,