Table of Contents

Struct AnimateValues

Namespace
Velvet
Assembly
Velvet.Docs.dll

The values Animate(VisualElement, AnimateValues, StyleTransitionConfig?) animates, each an array of keyframes as Framer Motion's animate takes them: two or more run through in turn over the transition, and one is a value to animate to from the element's current one. A property left null is left alone.

public readonly struct AnimateValues

Properties

Opacity

Opacity.

RotateDeg

Rotation in degrees.

Scale

A uniform scale factor.

X

Translate along x, in pixels (Framer's x).

Y

Translate along y, in pixels (Framer's y).