Creates panels that can open and close based on a toggle.
- Source:
Methods
(static) init(cb) → {void}
Initializes the clicks on .Panel-toggles for "Bootstrap-like" panels.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
cb |
function | Additional function to call with the toggle. |
Returns:
- Type
- void
SHPanelToggle.init();