Interface

TimelineClipDropFeedback

Transient feedback for a live cross-track clip drag.

Signature

Type Definition
Interface TimelineClipDropFeedback

Properties

NameSignatureDescription
activeClipIdactiveClipId: string | nullClip being dragged, or null when no body drag is active.
activeTargetTrackIdactiveTargetTrackId: string | nullLast valid track that is actively receiving the preview.
hoveredTrackIdhoveredTrackId: string | nullTrack currently under the pointer, including invalid targets.
penetrationRatiopenetrationRatio: numberHow far the pointer has penetrated into the hovered track, from 0 to 1.
reasonreason: TimelineClipDropFailureReason | nullMachine-readable reason for an invalid hovered track.
sourceTrackIdsourceTrackId: string | nullTrack that contained the dragged clip at drag start.
validvalid: booleanWhether the hovered track is a valid destination for the active clip.