Class FlowGraphKeyUpEventBlock
Hierarchy (View Summary)
- FlowGraphKeyboardEventBlock
- FlowGraphKeyUpEventBlock
Constructors
constructor
-
new FlowGraphKeyUpEventBlock(
config?: IFlowGraphKeyboardEventBlockConfiguration,
): FlowGraphKeyUpEventBlockCreates a new FlowGraphKeyUpEventBlock.
Parameters
Optionalconfig: IFlowGraphKeyboardEventBlockConfigurationoptional configuration
Returns FlowGraphKeyUpEventBlock
Properties
Readonlyalt Key
altKey: FlowGraphDataConnection<boolean>
Output connection: whether the Alt key (Option on macOS) was held.
Readonlycommand Or Ctrl
commandOrCtrl: FlowGraphDataConnection<boolean>
Output connection: platform-aware "command or control" modifier. True when Meta (Cmd) is held on macOS, or Ctrl is held on Windows/Linux.
Readonlyctrl Key
ctrlKey: FlowGraphDataConnection<boolean>
Output connection: whether the Ctrl key was held.
Readonlykey
key: FlowGraphDataConnection<string>
Input connection: optional key code to filter on (e.g. "KeyA", "Space", "ShiftLeft").
Uses KeyboardEvent.code values. Leave empty / disconnected to fire on any key event.
Readonlykey Code
keyCode: FlowGraphDataConnection<string>
Output connection: the KeyboardEvent.code of the key.
Readonlykey Value
keyValue: FlowGraphDataConnection<string>
Output connection: the KeyboardEvent.key string (printable character or key name).
Readonlymeta Key
metaKey: FlowGraphDataConnection<boolean>
Output connection: whether the Meta key (Windows / Cmd) was held.
Readonlyshift Key
shiftKey: FlowGraphDataConnection<boolean>
Output connection: whether the Shift key was held.
A keyboard event block that fires when a key is released. Inherits all inputs/outputs from FlowGraphKeyboardEventBlock.