addTrack | (track: Track<TrackKind>): TimelineCommandResult | Adds a track to the timeline. |
hiddenTracks | hiddenTracks: Track<TrackKind>[] | Tracks currently hidden from active layer and media lookup. |
removeTrack | (trackId: string): TimelineCommandResult | Removes a track from the timeline. |
selectedTrack | selectedTrack: Track<TrackKind> | null | Currently selected track, or null when no track is selected. |
selectTrack | (trackId: string | null): TimelineCommandResult | Selects a track by id, or clears track selection. |
setTrackGroup | (trackId: string, groupId: string | undefined): TimelineCommandResult | Assigns a track to a group, or clears its group. |
setTrackHeight | (trackId: string, height: number): TimelineCommandResult | Sets a track's expanded display height in pixels. |
targetedTracks | targetedTracks: Track<TrackKind>[] | Tracks currently targeted for edit operations. |
toggleLock | (trackId: string, locked?: boolean): TimelineCommandResult | Sets or toggles whether a track is locked. |
toggleMute | (trackId: string, muted?: boolean): TimelineCommandResult | Sets or toggles whether a track is muted. |
toggleTrackTarget | (trackId: string, targeted?: boolean): TimelineCommandResult | Sets or toggles whether a track is targeted for edit operations. |
toggleVisibility | (trackId: string, visible?: boolean): TimelineCommandResult | Sets or toggles whether a track participates in active layer and media lookup. |
tracks | tracks: Track<TrackKind>[] | Current ordered track list. |
tracksByGroupId | tracksByGroupId: Record<string, Track<TrackKind>[]> | Tracks grouped by group id, with ungrouped tracks under "ungrouped". |
visibleTracks | visibleTracks: Track<TrackKind>[] | Tracks currently participating in active layer and media lookup. |