Skip to main content

Type Alias: ModelAnimation

ModelAnimation = object

Defines an animation to be played on a product.

Properties​

from?​

readonly optional from?: number

A value it seconds along the animation timeline to begin at.


loop?​

readonly optional loop?: boolean

When true the animation will loop. The only behavior currently is to reset back to from but we could have it bounce back and forth and/or follow a curve.


name?​

readonly optional name?: string

The name of the animation to play.


to?​

readonly optional to?: number

A value in seconds along the animation timeline to end at.