Crate leptos_animation

Source

Modules§

animation_target
easing

Structs§

AnimatedSignal
AnimationContext
The AnimationContext handles updating all animated values and calls to window.request_animation_frame(). It is required to provide one in a parent context before calling create_animated_signal()
AnimationTarget
An AnimationTarget is a target value for the animation system to ease towards to along with details about the animation such as its duration, easing method and how to deal with previous animations.

Enums§

AnimationMode
The AnimationMode specifies how to handle new animation target values with respect to currently running animations

Functions§

create_animated_signal
Create a derived signal that animated the value of the input signals. Takes as input a reactive source callback function and a tween function.
tween_default
Default linear tween between any type of number

Type Aliases§

Easing
An easing function is one that takes a value between 0.0 - 1.0 and maps it to another value between 0.0 and 1.0 See https://easings.net for a list of implemented functions