Exports method to create a slider element group.
- Source
Methods
(inner) onRangeInput(e, params)
Assign value from range type input to associated numericInput element.
Formatting and numeric checks will be handled by the numericInput element.
Parameters:
Name | Type | Description |
---|---|---|
e | Object | oninput event from range type input. |
params | Object | params object used to pass additional params to the numericInput input function. |
- Source
(inner) slider(params) → {HTMLElement}
The slider method creates a numeric input element nested in a group with an associated range slider element.
The params.value property must be between params.min and params.max params.
Parameters:
PropertiesName | Type | Description |
---|---|---|
params | Object | Parameter for slider element. |
Name | Type | Description |
---|---|---|
params.value | numeric | Parameter value. |
params.min | numeric | Numeric range min. |
params.max | numeric | Numeric range max. |
- Source
Returns:
Element group containing range and numeric input elements.
- Type:
- HTMLElement