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
Interface TimelineExternalClipDropRootPropsProperties
| Name | Signature | Description |
|---|---|---|
onDragEnter | onDragEnter: DragEventHandler<HTMLElement> | Registers a native drag entering the timeline drop surface. |
onDragLeave | onDragLeave: DragEventHandler<HTMLElement> | Clears transient hover feedback when the drag leaves the drop surface. |
onDragOver | onDragOver: DragEventHandler<HTMLElement> | Updates target track, drop time, validity, and browser drop feedback. |
onDrop | onDrop: DragEventHandler<HTMLElement> | Commits the resolved insert or overwrite edit for the app-owned payload. |