showTrack([visible])

Class: Slider.

Description:

Shows or hides the track (line) behind the slider knob.

Parameters:

Name Type Description

[visible]

boolean

If true, the track will be displayed; if false, it will be hidden.

Returns:

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

Type: Slider | boolean