TSliderFieldVariant
type
Form & Input
Visual and behavioural variant of OrigamSliderField — full form-field chrome, bare video-scrubber, or waveform-backed audio scrubber.
TypeScript
Définition
La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Acceptées
Valeurs
Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.
- audio
- Same as timer plus a waveform background painted from the peaks prop. Used by OrigamAudio as its waveform scrubber.
- field
- Default variant — full OrigamInput chrome with label, helper text, prepend/append slots and validation messages. Used in settings panels and form-grade sliders.
- timer
- Bare scrubber without input chrome — 2 px hairline rail at rest, 4 px on hover/focus, thumb hidden until hover. Used by OrigamMediaController as a video timeline.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Form-grade slider with label and validation
Bare scrubber for a media controller
Waveform scrubber with peaks data