Interface

TimelineTrackDropContext

Context passed to custom clip track-drop guards.

Usage notes

The context contains the clip being moved, the source row captured at drag start, and the candidate target row currently under the pointer. Use it to express app policy such as visual-only tracks, audio-only tracks, locked groups, or modifier-key cross-kind moves. target tracks.

Signature

Type Definition
Interface TimelineTrackDropContext

Properties

NameSignatureDescription
clipclip: objectClip being moved.
sourceTracksourceTrack: objectTrack that contained the clip at drag start.
sourceTrackIndexsourceTrackIndex: numberSource track index at drag start.
targetTracktargetTrack: objectCandidate destination track.
targetTrackIndextargetTrackIndex: numberCandidate destination track index.