Skip to content

Documentation / @ripl/core / ElementInterpolationStateValue

Type Alias: ElementInterpolationStateValue<TValue> ​

ElementInterpolationStateValue<TValue> = TValue | ElementInterpolationKeyFrame<TValue>[] | Interpolator<TValue>

Defined in: packages/core/src/core/element.ts:266

An interpolation target: a direct value, an array of keyframes, or a custom interpolator function.

Type Parameters ​

Type ParameterDefault type
TValuenumber