mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(menuClose): improve menuClose docs
This commit is contained in:
2
js/angular/directive/menuClose.js
vendored
2
js/angular/directive/menuClose.js
vendored
@@ -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>
|
||||
|
||||
13
js/angular/directive/sideMenus.js
vendored
13
js/angular/directive/sideMenus.js
vendored
@@ -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.
|
||||
*
|
||||
* 
|
||||
*
|
||||
* 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,
|
||||
|
||||
Reference in New Issue
Block a user