(cssString: string, cssFileName?)
| 875 | |
| 876 | @profile |
| 877 | private setCss(cssString: string, cssFileName?): void { |
| 878 | this._css = cssString; |
| 879 | |
| 880 | const cssFile = CSSSource.fromSource(cssString, cssFileName); |
| 881 | this._localCssSelectors = cssFile.selectors; |
| 882 | this._localCssKeyframes = cssFile.keyframes; |
| 883 | this._localCssSelectorVersion++; |
| 884 | this.ensureSelectors(); |
| 885 | } |
| 886 | |
| 887 | @profile |
| 888 | private appendCss(cssString: string, cssFileName?): void { |
no test coverage detected