documentationfor yFiles for HTML 2.6

Usages of Key

Properties

keyin KeyEventArgsGets the key.

Method Return Values

from (Key)in KeyConverts the argument to Key.

Method Parameters

create (KeyEventType, Key, ModifierKeys?)in KeyEventRecognizersCreates an event recognizer for a given key and type using a given set of modifiers.
createIsDown (Key, ModifierKeys?)in KeyEventRecognizersCreates an event recognizer that matches if the specified keys are currently down.
addKeyBinding (Key, ModifierKeys, ICommand, Object?)in KeyboardInputModeAdds an event handler for a specific key press gesture to this mode.
addKeyBinding (Key, ModifierKeys?, function(ICommand, Object, Object):boolean?, function(ICommand, Object, Object):boolean?)in KeyboardInputModeAdds an event handler for a specific key press gesture to this mode.
from (Key)in KeyConverts the argument to Key.