blockly > IIcon > onClick

IIcon.onClick() method

Notifies the icon that it has been clicked.

Signature:

onClick(): void;

Returns:

void