TimelineAction beta
Interface of @v12-engine/client/kit
ts
export interface TimelineActionA key a timeline's host may register, by the action's id: the host says what it is called and when it counts
Members
id
ts
id: 'split' | 'delete' | 'select-all' | 'deselect' | 'zoom-in' | 'zoom-out' | 'fit';Which of the timeline's actions the key does
keys
ts
keys: string[];The keys (KeyboardEvent.code) that do it
label
ts
label: string;What the action is called, for the host's list of keys
repeat
ts
repeat?: boolean;Whether holding the key repeats the action