Skip to main content
cngx-src documentation

createSliderTicks

Functioncommon/interactive/sliderv0.1.0

projects/common/interactive/slider/slider-ticks.ts

Description#

Derives a slider's tick marks + labels from its bounds, shared by CngxSlider and CngxRangeSlider so the math lives once. marks gates the repeating-gradient interval; labels gates the numeric stops; both are independent. The values signal is arrayEqual-guarded.

Signature#

createSliderTicks(options)

Parameters#

@paramoptions

Returns#

CngxSliderTicksView