Skip to main content

blockly > icons > Icon > performAction

icons.Icon.performAction() method

Handles the user acting on this icon via keyboard navigation. Performs the same action as a click would, and focuses this icon's bubble if it has one.

Signature:

performAction(): void;

Returns:

void