documentationfor yFiles for HTML 2.6

TapInputMode

An input mode that recognizes simple touch taps.

Inheritance Hierarchy
TapInputMode
Implemented Interfaces

Remarks

Clients register to Tapped to get notified of touch taps. This mode can be instructed to swallow taps if they lead happen shortly after the control gained focus. This is useful to prevent accidental taps from being processed if the user wanted to put the focus into the control, only.

This mode is exclusive by default.

Examples

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

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.input.TapInputMode

See Also

Constructors

Properties

Methods

Events