RedDokia API Reference / RedDokiaExternalDragOptions
Interface: RedDokiaExternalDragOptions
Options passed to controller.startExternalDrag(pointerEvent, options) to initiate a drag-to-dock session from an external DOM element (e.g. widget palette or file tree).
Properties
| Property | Type | Description |
|---|---|---|
icon? | RedDokiaIconValue | Optional icon assigned to the created tab. |
params? | Record<string, any> | Optional custom parameters injected into the spawned view component. |
templateId? | string | Optional registered template view ID used to spawn a parameterized dynamic view on drop. |
title? | string | Optional display title shown on the drag ghost and the created tab. |
viewId | string | View ID to dock on drop (existing registered view ID, or a new dynamic view ID when templateId is provided). |