Closed joseacabaneros closed 2 months ago
Replace injectCss X function for (css) => window.xCSSInjector.addStyle({ source: css }); anonymous function at setup build time. The anonymous function executes the custom CSS injector xCSSInjector to inject styles.
injectCss
(css) => window.xCSSInjector.addStyle({ source: css });
xCSSInjector
Setup build example with ShadowRoot activated
ShadowRoot
Setup bundle example
Replace
injectCss
X function for(css) => window.xCSSInjector.addStyle({ source: css });
anonymous function at setup build time. The anonymous function executes the custom CSS injectorxCSSInjector
to inject styles.Setup build example with
ShadowRoot
activatedSetup bundle example