Skip to content

repeat

Read as Markdown

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.

Repeats one child a total number of iterations.

repeat: (child: PibblAnimationProgram, options: Readonly<PibblAnimationRepeatOptions>) => PibblAnimationProgram

Related API: repeat, PibblAnimationProgram, PibblAnimationRepeatOptions.

A program representing the requested repetitions. See PibblAnimationProgram.

PibblAnimationProgram

PibblAnimationRepeatOptions

View source — packages/core/src/lib/animation/program.ts:915

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 380919b. ALPHA — NOT FOR PRODUCTION USE.