Skip to Content
API ReferenceAnimatedValue

AnimatedValue

A typed animated value that pairs a target value with a lerp function. Pass instances of this type in the values list of ImplicitAnimation. When the target changes between builds, the framework automatically tweens from the previous value to the new target. Read the current interpolated result inside the builder via Get.

Constructor

AnimatedValue

Creates a new animated value.

ParameterDescription
keyA string key that uniquely identifies this value within the ImplicitAnimation’s values list.
targetThe current target value.
lerpA function that interpolates between two values of type . The signature is (from, to, t) => interpolated.

Properties

Key

Target

The current target value for this animated property.

Methods

HasChangedFrom

Interpolate

WithTarget

Last updated on