Change Method (FlexSlider)

Class

FlexSlider.

Action

Dispatched when the slider changes value due to mouse or keyboard interaction.

Syntax

slider.Change(value, [thumbIndex, clickTarget, triggerEvent, keyCode])
Variable Description
value The new value of the slider. Double.
thumbIndex Optional: The zero-based index of the thumb whose position has changed. Integer.
clickTarget Optional: Whether the slider track or a slider thumb was pressed. String.
triggerEvent Optional: The event, such as a mouse or keyboard event, that triggered the action. FlexTriggerEvent.
keyCode Optional: The key code value of the key pressed or released. String.