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