documentationfor yFiles for HTML 3.0.0.3

PortDropInputMode

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

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 PortDropInputMode is installed as child mode of a GraphEditorInputMode and can be retrieved from the portDropInputMode property.
Getting the PortDropInputMode from its parent input mode
const portDropInputMode = mode.portDropInputMode

Type Details

yFiles module
view

Constructors

Properties

Methods

Events

Constants

Static Methods