Skip to content

aninest-root / AnimatableTypes / LocalAnimatable

LocalAnimatable

ts
type LocalAnimatable = object;

Defined in: Animate/AnimatableTypes.ts:32

The local state of the animation, meaning only the numbers in the topmost level of the animation.

Index Signature

ts
[key: string]: UnknownRoot

Example

ts
const startingState = {a: {x: 0, y: 0}, b: 0}
// Looking at the root level:
{b: 0}
// Looking at the 'a' child:
{ x: 0, y: 0 }