blockly > blockRendering > ConstantProvider > injectCSS_
blockRendering.ConstantProvider.injectCSS_() method
Inject renderer specific CSS into the page.
Signature:
protected injectCSS_(tagName: string, selector: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
tagName | string | The name of the style tag to use. |
selector | string | The CSS selector to use. |
Returns:
void