Reference
MoveAnimationDirective
Framer Motion-style state animation: give it initial, animate and optional exit states, and it animates to animate whenever the bound object changes.
Overview
Framer Motion-style state animation: give it initial, animate and optional exit states,
and it animates to animate whenever the bound object changes.
Stable API — covered by semantic-versioning guarantees.
- Kind: Directive
- Stability:
stable
Selector
[moveAnimation]
Inputs
| Input | Type | Default | Required | Description |
|---|---|---|---|---|
moveAnimation |
MoveAnimationConfig |
Yes | ||
moveDuration |
unknown |
undefined |
Transform optionalTimeAttribute('moveDuration'); reads as number | undefined. |
|
moveEasing |
string | undefined |
undefined |
||
moveDelay |
unknown |
undefined |
Transform optionalTimeAttribute('moveDelay'); reads as number | undefined. |
|
moveDisabled |
unknown |
undefined |
Transform optionalBooleanAttribute; reads as boolean | undefined. |
|
moveSpring |
MoveSpring | undefined |
undefined |
Public methods
playLeave
playLeave(): Promise<void>
cancelLeave
cancelLeave(): void