TTextMaskAnimation
type
Data Display
Animation strategy applied to the background painted under the background-clip: text mask in OrigamTextMask. Every strategy respects prefers-reduced-motion.
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.
- zoom
- Continuous scale from 1 to 2 — a cinematic moving-forward feel that progressively reveals finer gradient detail.
- rotate
- Rotates the background-image continuously. Best fit for conic gradients where every angle is meaningful.
- pulse
- Scales 1 to 1.2 and back to 1 — a subtle breathing effect that keeps the gradient visible throughout.
- pan
- Translates the gradient horizontally in a continuous loop. Default. Best fit for long horizontal linear-gradient ramps.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
TextMask with rotating conic gradient