Skip to main content

blockly > BlockSvg > performAction

BlockSvg.performAction() method

Handles the user acting on this block via keyboard navigation. If this block is in the flyout, a new copy is spawned in move mode on the main workspace. If this block has a single full-block field, that field will be focused. Otherwise, this is a no-op.

Signature:

performAction(e?: KeyboardEvent): void;

Parameters

Parameter

Type

Description

e

KeyboardEvent

(Optional)

Returns:

void