new _Slider(name, selections, wgt, selected)
Slider constructor
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the slider name |
selections |
Array | the selection |
wgt |
number | weight |
selected |
boolean | if selected |
- Source:
Members
locked
- Source:
locked
- Source:
max
- Source:
max
- Source:
min
- Source:
min
- Source:
weight
- Source:
weight
- Source:
Methods
addToDom($container)
add html to dom
Parameters:
Name | Type | Description |
---|---|---|
$container |
jQuery | container element |
- Source:
increment(delta) → {number}
increment the slider
Parameters:
Name | Type | Description |
---|---|---|
delta |
number | change delta |
- Source:
Returns:
the remainder not able to be allocated to this slider
- Type
- number
reset()
reset to the original values
- Source:
setValAndDropDown(newVal, selectedParam)
set the value and drop down
Parameters:
Name | Type | Description |
---|---|---|
newVal |
number | the new value |
selectedParam |
string | the selected parameter |
- Source: