blockly > blockRendering > Renderer > refreshDom
blockRendering.Renderer.refreshDom() method
Refresh the renderer after a theme change.
Signature:
refreshDom(svg: SVGElement, theme: Theme): void;
Parameters
Parameter | Type | Description |
---|---|---|
svg | SVGElement | The root of the workspace's SVG. |
theme | Theme | The workspace theme object. |
Returns:
void