documentationfor yFiles for HTML 2.6

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 dragged item 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-editor
yfiles-umd modules
view-editor, view-table, view
Legacy UMD name
yfiles.input.LabelDropInputMode

See Also

Constructors

Properties

Methods

Events

Static Methods