blockly > blockRendering > ConstantProvider > createDom
blockRendering.ConstantProvider.createDom() method
Create any DOM elements that this renderer needs (filters, patterns, etc).
Signature:
createDom(svg: SVGElement, tagName: string, selector: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
svg | SVGElement | The root of the workspace's SVG. |
tagName | string | The name to use for the CSS style tag. |
selector | string | The CSS selector to use. |
Returns:
void