ISliderFieldTrackProps
interface
Component Props
Props contract for the track sub-component of <OrigamSliderField> — rail fill range, tick configuration, orientation hints, and the visual surface (color, size, rounded).
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- startnumber
- Start position of the active fill as a fraction of the total range (0–1).
- stopnumber
- Stop position of the active fill as a fraction of the total range (0–1).
- disabledboolean
- Applies the disabled visual state to the track.
- errorboolean
- Forces danger intent on both color channels — driven by the parent slider error flag.
- minnumber
- Boundaries for tick filtering (first tick suppression).
- maxnumber
- Boundaries for tick filtering (last tick suppression).
- isVerticalboolean
- Orientation hint passed by the parent — controls the logical CSS axis.
- indexFromEndboolean
- Inverts the start direction when reverse is on or in vertical mode.
- showTicksTAlways
- Tick visibility. Same semantics as the parent slider showTicks.
- tickSizenumber | string
- Tick dot size — px or token unit.
- ticksArray<TTick>
- Pre-computed tick descriptors — the parent slider owns the math and passes them down.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Passing trackProps to OrigamSliderField