Range slider component.
Methods
(static) .create(id)
Create slider from ID.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | the id of the form item to be turned into a range slider |
(static) .destroy(id)
Destroy slider from ID.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | the id of the form item |
(static) .init(contextopt)
Initialise plugin.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
context |
Node |
<optional> |
document | DOM element containing the range slider |