Skip to main content

Module animation

Module animation 

Source

Structs§

EffectTransition
A composable transition that applies concrete fade, slide, and size effects to an element.

Traits§

Lerp
Trait for types that support linear interpolation.

Functions§

cubic_bezier
A cubic bezier function like CSS cubic-bezier.
ease_in_cubic
Cubic ease-in — slow start, fast end. Good for exit animations.
ease_in_out_cubic
Cubic ease-in-out — slow start and end. Good for position transitions.
ease_out_cubic
Cubic ease-out — fast start, slow end. Good for enter animations.

Type Aliases§

TransitionDeprecated
Former name of EffectTransition.