Tick view produced by {@link createSliderTicks}CngxSliderTicksView
Interface
projects/common/interactive/slider/slider-ticks.ts
Import#
import { CngxSliderTicksView } from '@cngx/common/interactive'
Instance Properties#
Readonly
Tick spacing as a track percentage string (e.g. "5%"), or null when marks are off.
Readonly
Numeric tick stops for labels (empty when labels are off or the grid is too dense).
Methods#
fractionOf(value: number)
Track fraction [0, 1] of a tick value, for positioning its label.