blockly > IFocusableNode > performAction
IFocusableNode.performAction() method
Optional method invoked when this node has focus and the user acts on it by pressing Enter or Space. Behavior should generally be similar to the node being clicked on.
Signature:
performAction?(e?: Event): void;
Parameters
Parameter | Type | Description |
|---|---|---|
e | Event | (Optional) The event that triggered this action, if any. |
Returns:
void