Home > blockly > BlockSvg > getSvgRoot
BlockSvg.getSvgRoot() method
Return the root node of the SVG or null if none exists.
Signature:
getSvgRoot(): SVGGElement;
Returns:
SVGGElement
The root SVG node (probably a group).
Home > blockly > BlockSvg > getSvgRoot
Return the root node of the SVG or null if none exists.
Signature:
getSvgRoot(): SVGGElement;
Returns:
SVGGElement
The root SVG node (probably a group).