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
| Property | Type | Description | Defined in |
|---|---|---|---|
direction | TransitionDirection | Playback direction of the transition. | packages/core/src/core/renderer.ts:93 |
duration | number | Total duration of the transition, in milliseconds. | packages/core/src/core/renderer.ts:87 |
ease | Ease | Easing function applied to the transition's progress. | packages/core/src/core/renderer.ts:89 |
interpolator | Interpolator<void> | Interpolator advanced each frame to apply the transition to the element. | packages/core/src/core/renderer.ts:95 |
loop | TransitionLoopMode | Loop behaviour once the transition completes. | packages/core/src/core/renderer.ts:91 |
paused | boolean | Whether the transition is currently paused. | packages/core/src/core/renderer.ts:97 |
pauseOffset | number | Elapsed offset, in milliseconds, captured when the transition was paused or seeked. | packages/core/src/core/renderer.ts:99 |
startTime | number | Timestamp 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