Skip to main content

Interface: TransitionMetadata

Defined in: animations/types/AnimationTransition.ts:10

Metadata for an animation transition.

Properties

conditionMustBeTrueAtTheEndOfTheAnimation

conditionMustBeTrueAtTheEndOfTheAnimation: boolean

Defined in: animations/types/AnimationTransition.ts:22

If true, the condition must be true at the end of the animation for the transition to occur If false, the condition can be true at any point of the animation for the transition to occur

Default

false

finishCurrentAnimationBeforeTransitioning

finishCurrentAnimationBeforeTransitioning: boolean

Defined in: animations/types/AnimationTransition.ts:16

If true, the current animation must finish before transitioning to the next animation. If false, the transition can happen immediately when the conditions are met.

Default

true