majorTickSpacing([spacing])

Class: Slider.

Description:

Sets or gets the spacing between major tick marks (larger markings) in the Slider.

Parameters:

Name Type Description

[spacing]

number

The interval at which major tick marks are drawn.

Returns:

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

Type: Slider | number