Skip to content

Keyframe

Defined in: KeyframeTrack.ts:15

A single keyframe in an animation track.

T extends Interpolatable

data: T

Defined in: KeyframeTrack.ts:19

Value at this keyframe.


optional easing?: EasingFunction

Defined in: KeyframeTrack.ts:21

Easing from this keyframe to the next (overrides track default).


optional event?: () => void

Defined in: KeyframeTrack.ts:23

Fired once when playback passes this keyframe’s time.

void


time: number

Defined in: KeyframeTrack.ts:17

Time in seconds from the start of the track.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.