documentationfor yFiles for HTML 3.0.0.3

FocusGuardInputMode

An IInputMode that can be added to a MultiplexingInputMode to suppress other modes from performing unwanted actions 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 pointer 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

Constructors

Properties

Methods