blockly > ToolboxCategory > getClickTarget
ToolboxCategory.getClickTarget() method
Gets the HTML element that is clickable. The parent toolbox element receives clicks. The parent toolbox will add an ID to this element so it can pass the onClick event to the correct toolboxItem.
Signature:
getClickTarget(): Element;
Returns:
Element
The HTML element that receives clicks.