Skip to content

DragManager.dragLink method

DragManager › dragLink

Unofficial

Start a drag operation for a link.

Signature:

dragLink($event: DragEvent, linkText: string, sourcePath: string, title?: string, source?: unknown): Draggable

Parameters:

ParameterTypeDescription
$eventDragEvent
linkTextstringLink text to drag.
sourcePathstringPath of the source file for link resolution.
title?stringDisplay title for the drag ghost.
source?unknownSource component initiating the drag.

Returns: Draggable — The created draggable item.