Skip to content

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 ​

PropertyTypeDescription
icon?RedDokiaIconValueOptional icon assigned to the created tab.
params?Record<string, any>Optional custom parameters injected into the spawned view component.
templateId?stringOptional registered template view ID used to spawn a parameterized dynamic view on drop.
title?stringOptional display title shown on the drag ghost and the created tab.
viewIdstringView ID to dock on drop (existing registered view ID, or a new dynamic view ID when templateId is provided).