Skip to content

Documentation / @ripl/core / RendererTransition

Interface: RendererTransition ​

Defined in: packages/core/src/core/renderer.ts:84

Internal representation of an active transition managed by the renderer.

Properties ​

PropertyTypeDescriptionDefined in
directionTransitionDirectionPlayback direction of the transition.packages/core/src/core/renderer.ts:94
durationnumberTotal duration of the transition, in milliseconds.packages/core/src/core/renderer.ts:88
easeEaseEasing function applied to the transition's progress.packages/core/src/core/renderer.ts:90
interpolatorInterpolator<void>Interpolator advanced each frame to apply the transition to the element.packages/core/src/core/renderer.ts:96
loopTransitionLoopModeLoop behavior once the transition completes.packages/core/src/core/renderer.ts:92
pausedbooleanWhether the transition is currently paused.packages/core/src/core/renderer.ts:98
pauseOffsetnumberElapsed offset, in milliseconds, captured when the transition was paused or seeked.packages/core/src/core/renderer.ts:100
startTimenumberTimestamp at which the transition began, in milliseconds.packages/core/src/core/renderer.ts:86

Methods ​

callback() ​

callback(): void

Defined in: packages/core/src/core/renderer.ts:102

Invoked when the transition completes (a non-looping transition finishing).

Returns ​

void