Class Animator
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What UseAnimate() returns for animating elements inside its scope, Framer Motion's
animate of useAnimate. Animations are cancelled when the scope's component unmounts.
public sealed class Animator
- Inheritance
-
objectAnimator
Methods
- Animate(IReadOnlyList<AnimateSegment>)
Plays
sequence: each segment starts where its AnimateAt puts it, so segments overlap. The default starts it when the previous one ends.
- Animate(string, AnimateValues, StyleTransitionConfig?)
Animates the elements
selectornames inside the scope (.class,#name, a type name, compounds of them, descendants joined by a space, groups joined by a comma). Throws when the scope is not mounted.
- Animate(VisualElement, AnimateValues, StyleTransitionConfig?)
Animates
targetthroughvaluesontransition(0.3 s when null).