DragManager.dragLink method
DragManager › dragLink
Unofficial
Start a drag operation for a link.Signature:
dragLink(event: DragEvent, linkText: string, sourcePath: string, title?: string | undefined, source?: unknown): DraggableParameters:
| Parameter | Type | Description |
|---|---|---|
| event | DragEvent | The originating drag event. |
| linkText | string | Link text to drag. |
| sourcePath | string | Path of the source file for link resolution. |
| title? | string | undefined | Display title for the drag ghost. |
| source? | unknown | Source component initiating the drag. |
Returns: Draggable — The created draggable item.