documentationfor yFiles for HTML 3.0.0.3

Usages of ModifierKeys

Properties

modifiersin ClickEventArgsGets the state of the modifiers at the time of the click.
modifiersin KeyEventArgsGets the modifiers.
changedModifiersin PointerEventArgsGets the modifier keys that have changed for this event.
modifiersin PointerEventArgsGets the state of the modifier keys at the time of the event creation.

Method Return Values

from (ModifierKeys)in ModifierKeysConverts the given argument to an enum constant of this enum type.

Method Parameters

createKeyEventRecognizer (KeyEventType, string, ModifierKeys?)in EventRecognizersCreates an event recognizer for a given key and type using a given set of modifiers.
createPointerEventRecognizer (PointerType?, PointerEventType?, PointerButtons?, PointerButtons?, number?, ModifierKeys?, ModifierKeys?)in EventRecognizersCreates an event recognizer for the given arguments.
addKeyBinding (string, ModifierKeys, function():void)in KeyboardInputModeAdds an action for a specific key down event to this mode.
from (ModifierKeys)in ModifierKeysConverts the given argument to an enum constant of this enum type.
getName (ModifierKeys)in ModifierKeysReturns the name of the given enum constant.
PointerEventArgs (PointerEventType?, Point?, PointerButtons?, ModifierKeys?, PointerButtons?, ModifierKeys?, number?, PointerType?, boolean?, number?, Size?, number?, UIEvent?, number?, number?)in PointerEventArgsConstructs a new pointer event argument.