Skip to main content

Keyframe

Keyframe is an object contained by style property. Keyframe defines what is the style property value at specific frame.

Properties

id Read-Only

  • Type: string

ID of the keyframe.

value

Value of the keyframe.

frame

  • Type: number

Frame at which the value should be set

easing

  • Type: Object

Defines bezier easing between current and next keyframe.

Easing object type
{
p1x: number,
p1y: number,
p2x: number,
p2y: number
}