Component Toggle
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$ |
jQuery | Instance of jQuery |
Returns:
List of toggle methods
- Type
- Object
Members
(static) api :Object.<Methods>
- Source:
This object stores all public api methods
Type:
- Object.<Methods>
Methods
(static) init()
- Source:
Finds all not-initialized
Toggle components and in a loop for each of them
runs Toggle's
"initInstance"
method.
(static) initInstance(component)
- Source:
Call
"initToggle"
method
Parameters:
Name | Type | Description |
---|---|---|
component |
jQuery | Root DOM element of toggle component wrapped by jQuery |