onSlide event
Arguments
- arguments[0]
a data object that has a .value property (the value or values if the slider is multi-value).
- handle
the handle that is being used to adjust the value. IMPORTANT. The slider object's value property does not change until the slider is released (user stops dragging on the slider).
Description
Specify the Javascript code to execute when the slider is moved to a new position. Your code can reference 'this' - the slider object.
The onSlide event eliminates the need for defining an event handler inside of an Javascript function. It also makes the slider more consistent with how event handlers for other controls (e.g. Switch, ButtonList, List, etc) are defined, since the code for the event handlers can be added directly to the property For backwards compatibility, an older method is still supported that uses the following Javascript for the event handler:
myChangeFunction
This is assumed to be the name of the function that you want to call.