documentationfor yFiles for HTML 3.0.0.3

LabelDropInputMode

An ItemDropInputMode<T> specialized to the drag and drop of ILabels.

Inheritance Hierarchy
Implemented Interfaces

Remarks

This input mode can visualize a preview of the draggedItem during the drag operation, and supports snapping via the snapContext and highlighting of the dropTarget via a HighlightIndicatorManager<T>.

Examples

Typically the LabelDropInputMode is installed as child mode of a GraphEditorInputMode and can be retrieved from the labelDropInputMode property.
Getting the LabelDropInputMode from its parent input mode
const labelDropInputMode = mode.labelDropInputMode

Type Details

yFiles module
view

Constructors

Properties

Methods

Events

Constants

Static Methods