documentationfor yFiles for HTML 2.6

FocusGuardInputMode

An IInputMode that can be added to a MultiplexingInputMode to suppress other modes from doing unwanted things if the control has just become focused.

Inheritance Hierarchy
FocusGuardInputMode
Implemented Interfaces

Remarks

This mode requests the input mutex once the canvas gains focus. It returns the mutex after the mode has regained focus and the mouse has been clicked or 100 milliseconds have passed. This mode should be registered with the MultiplexingInputMode using the add method and a large priority number (e.g. 1000). So that other modes don't receive the input mutex once this one has released the mutex.

This mode is exclusive by default.

Type Details

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

Constructors

Properties

Methods