HexagonJS
Slider Changelog
1.3.0
Bugfix
#183
Update so the change event is only emitted when the value is actually changed
Bugfix
#184
Update so the slidestart event is only emitted on slidestart, not on change
1.0.0
hx.sliderSelection
Added
Fluid api version of Slider
0.15.2
hx.SliderextendsEventEmitter
Bugfix
resolve an issue with discrete values that meant that numbers/objects were being coerced into strings
hx.SlideroptionsObject
options
disabledBoolean
Added
Added the ability to disable a slider in the options
hx.Slider
disabledSlider
Added
Added the ability to disable/enable a slider
hx.Slider
disabledBoolean
Added
Added the ability to get the disabled state of a slider
0.14.0
hx.SlideroptionsObject
options
render
Removed
Use options.renderer instead.
hx.Slider
valuevalueObject
value
startValueNumber
Removed
Use start instead
hx.Slider
valuevalueObject
value
endValueNumber
Removed
Use end instead
hx.Slider
setDiscreteValues
Removed
Use discreteValues instead
0.13.0
hx.SlideroptionsObject
options
render
Deprecated
Use options.renderer instead.
hx.SlideroptionsObject
options
renderer
Added
The render function to use when rendering the value of the slider.
The default render function is:
function (slider, elem, value) {
  hx.select(elem).text(hx.format.fixed(2)(value));
}
hx.Slider
valuevalueObject
value
startNumber
Added
The start value of the selected range slider
hx.Slider
valuevalueObject
value
Added
The end value of the selected range slider
hx.Slider
setDiscreteValues
Added
Deprecated
Use discreteValues instead
hx.Slider
discreteValuesSlider
Added
Makes the slider a discrete value, using the values provided
hx.Slider
discreteValuesArray
Added
Gets the descrete values set for this slider
hx.Slider
minSlider
Added
Sets the minimum value of the slider.
hx.Slider
Added
Gets the minimum value of the slider.
hx.Slider
maxSlider
Added
Sets the maximum value of the slider.
hx.Slider
Added
Gets the maximum value of the slider.
hx.Slider
stepSlider
Added
Sets the step size of the slider.
hx.Slider
stepNumber
Added
Gets the step size of the slider.
hx.Slider
rendererSlider
Added
Sets the renderer function
hx.Slider
rendererFunction
Added
Gets the current renderer function
0.12.0
hx.Slider
setValueSlider
Removed
hx.Slider
getValueNumber
Removed
hx.Slider
setValueSlider
Removed
0.11.0
hx.Slider
Removed
hx.Slider
setValueSlider
Deprecated
Use value(value) instead.
hx.Slider
getValueNumber
Deprecated
Use value() instead.
hx.Slider
setRangeStartValueSlider
Removed
hx.Slider
setRangeEndValueSlider
Removed
hx.Slider
getRangeStartValueNumber
Removed
hx.Slider
getRangeEndValueNumber
Removed
hx.Slider
setValueSlider
Deprecated
Use value(value) instead.
hx.Slider
valueSlider
Added
Sets the value / position of the slider. Returns this slider for chaining.
hx.Slider
valueSlider
Added
Sets the values for a range slider.
hx.Slider
valueNumber / Object
Added
Returns the current value of the slider.
0.10.0
hx.Slider
Deprecated
Use new hx.Slider(selector, options) instead.
hx.Slider
setRangeStartValueSlider
Deprecated
Use setValue({startValue: <value>}) instead.
hx.Slider
setRangeEndValueSlider
Deprecated
Use setValue({endValue: <value>}) instead.
hx.Slider
getRangeStartValueNumber
Deprecated
Use getValue().startValue instead.
hx.Slider
getRangeEndValueNumber
Deprecated
Use getValue().endValue instead.
hx.Slider
Added
hx.Slider
setValueSlider
Added
Sets the values for a range slider.
hx.Slider
slide
Removed