repeat
repeat(program, options) repeats a child for a positive iteration count or
infinity. Direction is normal, reverse, alternate, or
alternate-reverse. Infinite repeats are valid only where the surrounding
composition can schedule them unambiguously.
Related types: PibblAnimationProgram,
PibblAnimationRepeatOptions,
and PibblAnimationRepeatDirection.
API details from source
Section titled “API details from source”
Repeats one child a total number of iterations.
repeat: (child: PibblAnimationProgram, options: Readonly<PibblAnimationRepeatOptions>) => PibblAnimationProgramRelated API: repeat, PibblAnimationProgram, PibblAnimationRepeatOptions.
Parameters
Section titled “Parameters”-
child— Program to repeat. See PibblAnimationProgram. -
options— Repeat count and repetition policy. See PibblAnimationRepeatOptions.
Returns
Section titled “Returns”A program representing the requested repetitions. See PibblAnimationProgram.
See also
Section titled “See also”View source — packages/core/src/lib/animation/program.ts:915
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Animation and scheduling companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Compose keyframes and springs: Run two independent tracks together, then mark, wait, and repeat. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 380919b. ALPHA — NOT FOR PRODUCTION USE.