Interface

UseTimelineClipboardResult

Result returned by `useTimelineClipboard`.

Signature

Type Definition
Interface UseTimelineClipboardResult

Properties

NameSignatureDescription
canCopycanCopy: booleanWhether the current selection can be copied.
canCutcanCut: booleanWhether the current selection can be cut.
canPastecanPaste: booleanWhether clipboard contents are available to paste.
clipboardCountclipboardCount: numberNumber of clips currently stored in the timeline clipboard.
copySelection(): TimelineCommandResultCopies the current clip selection to the timeline clipboard.
cutSelection(): TimelineCommandResultCuts the current clip selection to the timeline clipboard.
pasteSelection(time: RationalTime, targetTrackId?: string): TimelineCommandResultPastes clipboard clips at a time and optional target track.