StepControllerOptions
What a StepController is built from.
@internote/canvas-sdkOn this page
import { StepControllerOptions } from '@internote/canvas-sdk';#Fields
clockThe clock the controller reads, in milliseconds. A test passes a manual one.
() => numberDefault
Date.nowcontinuesA controller whose timeline this one carries on: its step, its entries, its scene clock and its pause, so the scene goes on exactly where it was. A host rebuilt for the same document passes the scene's old controller, so an uploaded file arriving does not restart the reader's animation. Ignored when its step count differs.
StepControllerholdsWhether entering a step waits for the reader: when true for a step, it arrives paused at its start, to play when the reader presses play. Absent means no step holds.
(step: number) => booleaninitialStepThe step to start on. Earlier steps start settled, so their content renders finished.
numberDefault
0stepCountHow many step markers the scene body has. Valid steps run from 0 to this.
numberDeclared in packages/canvas-sdk/src/animation/StepController.ts:24.