blockly > Toolbox > onKeyDown_
Handles key down events for the toolbox.
Signature:
protected onKeyDown_(e: KeyboardEvent): void;
Parameters
Parameter |
Type |
Description |
e |
KeyboardEvent |
The key down event. |
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `Toolbox.onKeyDown_` method manages key down events specifically for the Blockly toolbox."],["This method accepts a KeyboardEvent as input to process the key press."],["`Toolbox.onKeyDown_` is a protected method and does not return any value."]]],[]]