docs(menuClose): improve menuClose docs

This commit is contained in:
Adam Bradley
2014-08-06 14:38:50 -05:00
parent 1c27df3925
commit 44fee26436
2 changed files with 11 additions and 4 deletions

View File

@@ -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>

View File

@@ -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,