Skip to content

Documentation / @ripl/core / RendererTransition

Interface: RendererTransition

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

Internal representation of an active transition managed by the renderer.

Properties

PropertyTypeDescriptionDefined in
directionTransitionDirectionPlayback direction of the transition.packages/core/src/core/renderer.ts:93
durationnumberTotal duration of the transition, in milliseconds.packages/core/src/core/renderer.ts:87
easeEaseEasing function applied to the transition's progress.packages/core/src/core/renderer.ts:89
interpolatorInterpolator<void>Interpolator advanced each frame to apply the transition to the element.packages/core/src/core/renderer.ts:95
loopTransitionLoopModeLoop behaviour once the transition completes.packages/core/src/core/renderer.ts:91
pausedbooleanWhether the transition is currently paused.packages/core/src/core/renderer.ts:97
pauseOffsetnumberElapsed offset, in milliseconds, captured when the transition was paused or seeked.packages/core/src/core/renderer.ts:99
startTimenumberTimestamp at which the transition began, in milliseconds.packages/core/src/core/renderer.ts:85

Methods

callback()

callback(): void

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

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

Returns

void