TRANSITION_MODE
enum
Animation & Transitions
TypeScript enum for the Vue transition mode — in-out, out-in, or default (simultaneous).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- TRANSITION_MODE.IN_OUT
- New element transitions in first, then the current element transitions out.
- TRANSITION_MODE.OUT_IN
- Current element transitions out first, then the new element transitions in.
- TRANSITION_MODE.DEFAULT
- Both enter and leave transitions happen simultaneously (Vue default).
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup