Slider Bar script interface
The ISliderBarInstance
interface derives from IDOMInstance to add APIs specific to the Slider Bar plugin.
Slider Bar events
See instance event for standard instance event object properties.
- "click"
- Fired when the control is clicked.
- "change"
- Fired when the user finishes changing the chosen value on the slider bar. Typically this only fires when the user releases a mouse button or touch after moving the slider.
- "input"
- Fired repeatedly as the user changes the chosen value on the slider bar. Unlike the
"change"
event this will reflect the current value of the slider as the user is still dragging it.
Slider Bar APIs
- value
- The current value represented by the slider bar.
- minimum
- maximum
- The minimum and maximum values, defining the range of the slider bar.
- step
- The increment of possible values. For example if the step is 10, then the slider will jump in units of 10 as it is moved, and only a multiple of 10 can be chosen as a value.
- tooltip
- A tooltip that appears if the user hovers the mouse over the text box and waits. An empty string indicates no tooltip.
- isEnabled
- A boolean indicating if the control is enabled or disabled.
Construct 3 Manual
Construct.net
2020-08-05
2023-01-25
You are here:
Search this manual:
This manual entry was last updated on 25 Jan, 2023 at 12:41