Interface

UseTimelineTrackDropTargetsOptions

Options accepted by `useTimelineTrackDropTargets`.

Usage notes

Geometry options should match the renderer and interaction layer. The optional guard runs after built-in checks for missing, locked, and same-kind tracks.

Signature

Type Definition
Interface UseTimelineTrackDropTargetsOptions

Type parameters

NameConstraintDefaultDescription
TrackKindNonestringApp-defined track kind values carried by track targets.

Properties

NameSignatureDescription
canDropClipOnTrack?canDropClipOnTrack?: TimelineTrackDropGuard<TrackKind>Optional app policy for accepting, rejecting, or expanding drop targets.
collapsedTrackHeight?collapsedTrackHeight?: numberCollapsed track height in pixels.
edgeThreshold?edgeThreshold?: numberMouse/pen edge hit threshold in pixels.
rulerHeight?rulerHeight?: numberHeight of the top ruler region in pixels.
touchEdgeThreshold?touchEdgeThreshold?: numberTouch edge hit threshold in pixels.
trackHeight?trackHeight?: numberDefault expanded track height in pixels.
viewportWidth?viewportWidth?: numberViewport width in CSS pixels. Defaults to the engine viewport width.