Skip to content

keyframes

Read as Markdown

keyframes(options) creates an immutable seekable definition from at least two values. Optional offsets must be nondecreasing and cover the values; easing may be one function or one per segment. Numbers interpolate by default, while other types require a PibblInterpolator.

Related types: PibblAnimationDefinition and PibblKeyframesOptions.

Returns an opaque immutable keyframe definition.

keyframes: <T>(options: Readonly<PibblKeyframesOptions<T>>) => PibblAnimationDefinition<T>

Related API: keyframes, PibblKeyframesOptions, PibblAnimationDefinition.

An immutable animation definition sampling the keyframes. See PibblAnimationDefinition .

PibblKeyframesOptions

PibblAnimationDefinition

View source — packages/core/src/lib/animation/definition.ts:589

Read the Animation and scheduling companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.

Documentation built with @pibbl/core 0.0.2, revision 2dccb19. ALPHA — NOT FOR PRODUCTION USE.