Skip to main content

Home > 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

ParameterTypeDescription
eKeyboardEventThe keyboard event to handle.

Returns:

void