getScale(id).settings.slider()
(since beta 0.3)
Transforms the scale into a slider. Note that sliders always have a default value in order to place their cursor. If you do not use settings command default, the central (or next-to-central) value will be used.
The Comments column of the results line will report the duration of moving the slider (in ms).
Example:
[js highlight=”2″ try=”true”]
newScale(“slider”, 100)
.settings.slider()
.print()
[/js]
Adds a 100-point slider to the page and a validation button.