Interface

UseTimelineRangeSelectionResult

Result returned by `useTimelineRangeSelection`.

Signature

Type Definition
Interface UseTimelineRangeSelectionResult

Properties

NameSignatureDescription
clearRange(): voidClears the range boundaries.
deleteRange(options?: { ripple: boolean; trackIds: typeOperator }): TimelineCommandResult<TimelineEditCommitResult>Deletes the selected range, closing the gap by default.
hasRangehasRange: booleanWhether a complete range is selected.
liftRange(options?: { trackIds: typeOperator }): TimelineCommandResult<TimelineEditCommitResult>Lifts the selected range while leaving the gap in place.
rangerange: TimelineRangeSelection | nullSelected timeline range, or null when both boundaries are not set.
setRange(range: TimelineRangeSelection): voidSets both range boundaries.