Skip to content

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 ​

PropertyTypeDescription
clientXnumberViewport client X coordinate at drop time.
clientYnumberViewport client Y coordinate at drop time.
controllerRedDokiaControllerActive workbench controller for custom handling when returning void.
dataTransferDataTransferBrowser DataTransfer object from the drop event.
eventDragEventOriginal browser DragEvent.
filesFile[]Convenience array of dropped OS File objects (empty if non-file drag).
targetGroupIdstringTarget group ID under the drop cursor, or null when dropped on a root edge or empty grid.
zoneRedDokiaDockZoneResolved 5-direction docking zone ('center' | 'left' | 'right' | 'top' | 'bottom').