Usage notes
Use this result to build custom track-row drop previews, or indirectly through
useTimelineClipDrag. `trackTargets` are viewport-space rows in
timeline order and `canDropClipOnTrack` applies both engine and app policy.
Signature
Interface UseTimelineTrackDropTargetsResultProperties
| Name | Signature | Description |
|---|---|---|
canDropClipOnTrack | (clipId: string, targetTrackId: string, sourceTrackId?: string): TimelineTrackDropResult | Resolves whether one clip may drop on one candidate track. |
getTrackAtViewportPoint | (input: TrackHitTestInput): TimelineTrackHitTestResult<string> | null | Hit-tests timeline tracks in viewport coordinates. |
trackTargets | trackTargets: TimelineTrackHitTestResult<string>[] | Viewport-space track rows in timeline order. |