documentationfor yFiles for HTML 3.0.0.2

ClickInputMode

An input mode that recognizes pointer clicks or taps.

Inheritance Hierarchy
ClickInputMode
Implemented Interfaces

Remarks

Clients register to clicked to get notified of pointer clicks.

This mode can be instructed to swallow clicks if they happen shortly after the control gained focus. This is useful to prevent accidental clicks from being processed if the user wanted to put the focus into the control, only.

This mode is exclusive by default.

Examples

Typically the ClickInputMode is installed as child mode of a GraphEditorInputMode or GraphViewerInputMode and can be retrieved from the clickInputMode property.
Getting the ClickInputMode from its parent input mode
const clickInputMode = mode.clickInputMode

Type Details

yFiles module
view

See Also

Constructors

Properties

Methods

Events