Skip to content

Commit

Permalink
docs(menuClose): improve menuClose docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Aug 6, 2014
1 parent 1c27df3 commit 44fee26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/angular/directive/menuClose.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a menu-close href="#/home" class="item">Home</a>
Expand Down
13 changes: 10 additions & 3 deletions js/angular/directive/sideMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<ion-side-menus>` parent element,
Expand Down

0 comments on commit 44fee26

Please sign in to comment.