Interface

UseTimelineClipTrimResult

Result returned by `useTimelineClipTrim`.

Signature

Type Definition
Interface UseTimelineClipTrimResult

Properties

NameSignatureDescription
cancelClipTrim(): TimelineCommandResultDiscards this gesture's preview and snap guides without changing the document.
endClipTrim(): TimelineCommandResultRevalidates and commits this gesture as one undo step. A click alone creates no edit.
moveClipTrim(input: Pick<TimelineClipTrimStartInput, "clientX">): TimelineCommandResult<TimelineEditPreview>Publishes a non-mutating preview using the captured start geometry.
startClipTrim(input: TimelineClipTrimStartInput): TimelineCommandResultCaptures the clip edge and zoom, and prepares snapping.
trimmingtrimming: booleanWhether this hook owns an active trim gesture.