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.

typescript

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.

mode
TTransitionMode
Vue transition mode: in-out, out-in, or default (simultaneous).
disabled
boolean
Skip the transition entirely — content appears/disappears instantly.
name
string
CSS class prefix for the transition (e.g. origam-fade applies .origam-fade-enter-active etc.).
group
boolean
Render a <transition-group> instead of <transition> for list animations.
hideOnLeave
boolean
Set visibility: hidden during the leave phase to avoid flash artifacts on overflow: hidden parents.
leaveAbsolute
boolean
Position the leaving element absolutely so entering content can take its place immediately.
origin
string
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

typescript