blockly > Field > getSvgRoot

Field.getSvgRoot() method

Gets the group element for this editable field. Used for measuring the size and for positioning.

Signature:

getSvgRoot(): SVGGElement | null;

Returns:

SVGGElement | null

The group element.