emitWhileSliding([enabled])

Class: Slider.

Description:

Enables or disables onChange event to be continuously emitted while user is moving the handle and value is changing.
If disabled, the onChange event will only be invoked after user stopped sliding the knob and releases mouse button.

Parameters:

Name Type Description

[enabled]

boolean

If true, change events are emitted during sliding; if false, only when handle is released.

Returns:

When setting a value, returns this component for chaining; otherwise returns the current value.

Type: Slider | boolean