Interface

UseTimelineKeyframeDragResult

Result returned by `useTimelineKeyframeDrag`.

Signature

Type Definition
Interface UseTimelineKeyframeDragResult

Properties

NameSignatureDescription
cancelKeyframeDrag(): TimelineCommandResultCancels pointer handling for the active drag and settles current preview state.
draggingdragging: booleanWhether a keyframe drag is currently active.
endKeyframeDrag(): TimelineCommandResultEnds the active keyframe drag and settles history.
moveKeyframeDrag(input: TimelineKeyframeDragMoveInput): TimelineCommandResult<TimelineKeyframeDragUpdate>Updates the active keyframe drag preview.
startKeyframeDrag(input: TimelineKeyframeDragStartInput): TimelineCommandResultStarts a keyframe drag.