RedDokia API Reference / RedDokiaExternalNativeDropEvent
Interface: RedDokiaExternalNativeDropEvent
Payload delivered to RedDokiaProps.onExternalNativeDrop when an OS file or HTML5 draggable item is dropped onto the docking grid.
Properties
| Property | Type | Description |
|---|---|---|
clientX | number | Viewport client X coordinate at drop time. |
clientY | number | Viewport client Y coordinate at drop time. |
controller | RedDokiaController | Active workbench controller for custom handling when returning void. |
dataTransfer | DataTransfer | Browser DataTransfer object from the drop event. |
event | DragEvent | Original browser DragEvent. |
files | File[] | Convenience array of dropped OS File objects (empty if non-file drag). |
targetGroupId | string | Target group ID under the drop cursor, or null when dropped on a root edge or empty grid. |
zone | RedDokiaDockZone | Resolved 5-direction docking zone ('center' | 'left' | 'right' | 'top' | 'bottom'). |