docs(): remove code blocks in docs

This commit is contained in:
mhartington
2018-05-31 16:13:53 -04:00
parent 5ad35ccc00
commit aaf3eee59d
21 changed files with 98 additions and 146 deletions

View File

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