Skip to main content

Home > blockly > blockRendering > ConstantProvider > injectCSS_

blockRendering.ConstantProvider.injectCSS_() method

Inject renderer specific CSS into the page.

Signature:

protected injectCSS_(tagName: string, selector: string): void;

Parameters

ParameterTypeDescription
tagNamestringThe name of the style tag to use.
selectorstringThe CSS selector to use.

Returns:

void