MCPcopy Index your code
hub / github.com/angular/angular / compileStyles

Function compileStyles

packages/compiler/src/render3/view/compiler.ts:626–631  ·  view source on GitHub ↗
(styles: string[], selector: string, hostSelector: string)

Source from the content-addressed store, hash-verified

624}
625
626function compileStyles(styles: string[], selector: string, hostSelector: string): string[] {
627 const shadowCss = new ShadowCss();
628 return styles.map((style) => {
629 return shadowCss!.shimCssText(style, selector, hostSelector);
630 });
631}
632
633/**
634 * Encapsulates a CSS stylesheet with emulated view encapsulation.

Callers 1

Calls 2

mapMethod · 0.80
shimCssTextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…