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

Function shim

packages/compiler/test/shadow_css/utils.ts:11–14  ·  view source on GitHub ↗
(css: string, contentAttr: string, hostAttr: string = '')

Source from the content-addressed store, hash-verified

9import {ShadowCss} from '../../src/shadow_css';
10
11export function shim(css: string, contentAttr: string, hostAttr: string = '') {
12 const shadowCss = new ShadowCss();
13 return shadowCss.shimCssText(css, contentAttr, hostAttr);
14}
15
16const shadowCssMatchers: jasmine.CustomMatcherFactories = {
17 toEqualCss: function (): jasmine.CustomMatcher {

Callers 5

keyframes_spec.tsFile · 0.90
shadow_css_spec.tsFile · 0.90
ng_deep_spec.tsFile · 0.90
at_rules_spec.tsFile · 0.90

Calls 1

shimCssTextMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…