TimelineState
import type { TimelineState } from 'pixi-silk/ui/timeline';
The reactive state of a MiniTimeline.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
playing | Signal<boolean> | Writing it starts or stops playback. | ui/timeline.ts:66 |
range | Signal<readonly [number, number] | null> | Loop range in frames, or null to play the whole track. | ui/timeline.ts:70 |
selection | Signal<readonly string[]> | Ids of the selected keys. | ui/timeline.ts:68 |
time | Signal<number> | Playhead time in frames, 0 to duration. Writing it moves the playhead. | ui/timeline.ts:64 |
view | Signal<readonly [number, number]> | Visible window [start, end] in frames. Zoom and pan write it. The drawn view glides after it. | ui/timeline.ts:72 |