Interface

TimelineExternalClipDropRootProps

Props spread onto the timeline element that receives native external drops.

Usage notes

Spread these onto the same viewport element whose bounds should define pointer-to-time and pointer-to-track hit testing. The hook handles native drag events; applications provide payload parsing and placement creation.

Signature

Type Definition
Interface TimelineExternalClipDropRootProps

Properties

NameSignatureDescription
onDragEnteronDragEnter: DragEventHandler<HTMLElement>Registers a native drag entering the timeline drop surface.
onDragLeaveonDragLeave: DragEventHandler<HTMLElement>Clears transient hover feedback when the drag leaves the drop surface.
onDragOveronDragOver: DragEventHandler<HTMLElement>Updates target track, drop time, validity, and browser drop feedback.
onDroponDrop: DragEventHandler<HTMLElement>Commits the resolved insert or overwrite edit for the app-owned payload.