Skip to main content

blockly > bubbles > Bubble > onKeyDown

bubbles.Bubble.onKeyDown() method

Handles key events when this bubble is focused. By default, closes the bubble on Escape.

Signature:

protected onKeyDown(e: KeyboardEvent): void;

Parameters

Parameter

Type

Description

e

KeyboardEvent

The keyboard event to handle.

Returns:

void