blockly > WorkspaceSvg > getParentSvg
WorkspaceSvg.getParentSvg() method
Get the SVG element that contains this workspace. Note: We assume this is only called after the workspace has been injected into the DOM.
Signature:
getParentSvg(): SVGSVGElement;
Returns:
SVGSVGElement
SVG element.