Transforms the element into a slider that responds to mouse (with the left mouse button held down)
or finger movement, returning a percentage value between 0 and 1 depending on its position within the element.
It can control movement along the X or Y axis.
Slider class.
Transforms the element into a slider that responds to mouse (with the left mouse button held down) or finger movement, returning a percentage value between 0 and 1 depending on its position within the element. It can control movement along the X or Y axis.
Example:
Use the
destroymethod when the slider is no longer needed.