- Description:
Controls the drawer.
- Source:
- Copyright:
- 2019 Jun Pataleta
- 2019 Jun Pataleta
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Controls the drawer.
Methods
(inner) getDrawerRoot(contentRoot) → {*|jQuery}
- Description:
Find the root element of the drawer based on the using the drawer content root's ID.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
contentRoot |
Object | The drawer content's root element. |
Returns:
- Type
- * | jQuery
(inner) hide(root)
- Description:
Hide the drawer.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
Object | The drawer container. |
(inner) isVisible(root) → {boolean}
- Description:
Check if the drawer is visible.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
Object | The drawer container. |
Returns:
- Type
- boolean
(inner) registerToggles(root, toggleElements)
- Description:
Add event listeners to toggle the drawer.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
Object | The drawer container. |
toggleElements |
Object | The toggle elements. |
(inner) show(root)
- Description:
Show the drawer.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
Object | The drawer container. |
(inner) toggle(root)
- Description:
Toggle the drawer visibility.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
root |
Object | The drawer container. |