mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(): remove code blocks in docs
This commit is contained in:
@@ -22,7 +22,7 @@ The MenuController makes it easy to control a Menu. Its methods can be used to d
|
||||
|
||||
#### close()
|
||||
|
||||
Programatically close the Menu. If no `menuId` is given as the first
|
||||
Close the Menu. If no `menuId` is given as the first
|
||||
argument then it'll close any menu which is open. If a `menuId`
|
||||
is given then it'll close that exact menu.
|
||||
|
||||
@@ -49,22 +49,32 @@ property. If a menu is not found then it'll return `null`.
|
||||
|
||||
#### getMenus()
|
||||
|
||||
Returns an array of all menu instances.
|
||||
|
||||
|
||||
#### getOpen()
|
||||
|
||||
Returns the instance of the menu already opened, otherwise `null`.
|
||||
|
||||
|
||||
#### isAnimating()
|
||||
|
||||
If any menu is currently animating
|
||||
|
||||
|
||||
#### isEnabled()
|
||||
|
||||
Returns true or false if the menuId is enabled or not
|
||||
|
||||
|
||||
#### isOpen()
|
||||
|
||||
If the menuId is not specified, it returns true if ANY menu is currenly open.
|
||||
|
||||
|
||||
#### open()
|
||||
|
||||
Programatically open the Menu.
|
||||
Open the Menu.
|
||||
|
||||
|
||||
#### registerAnimation()
|
||||
|
||||
Reference in New Issue
Block a user