ITransitionProps
interface
Animation & Transition
Core transition configuration shared by all origam transition wrappers. Controls the Vue transition name, mode, group mode, leave behavior, and origin for transform-based animations.
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.
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.
- modeTTransitionMode
- Vue transition mode: in-out, out-in, or default (simultaneous).
- disabledboolean
- Skip the transition entirely — content appears/disappears instantly.
- namestring
- CSS class prefix for the transition (e.g. origam-fade applies .origam-fade-enter-active etc.).
- groupboolean
- Render a <transition-group> instead of <transition> for list animations.
- hideOnLeaveboolean
- Set visibility: hidden during the leave phase to avoid flash artifacts on overflow: hidden parents.
- leaveAbsoluteboolean
- Position the leaving element absolutely so entering content can take its place immediately.
- originstring
- CSS transform-origin override for scale-based transitions (e.g. top center).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Scale transition with top-center origin