blockly > Field > getClickTarget_

Field.getClickTarget_() method

The element to bind the click handler to. If not set explicitly, defaults to the SVG root of the field. When this element is clicked on an editable field, the editor will open.

Signature:

protected getClickTarget_(): Element | null;

Returns:

Element | null

Element to bind click handler to.