(cssFileName?: string, cssString?: string, css?: string)
| 168 | } |
| 169 | |
| 170 | public _updateStyleScope(cssFileName?: string, cssString?: string, css?: string): void { |
| 171 | let scope = this._styleScope; |
| 172 | if (!scope) { |
| 173 | scope = new StyleScope(); |
| 174 | this.setScopeProperty(scope, cssFileName, cssString, css); |
| 175 | this._inheritStyleScope(scope); |
| 176 | this._isStyleScopeHost = true; |
| 177 | } else { |
| 178 | this.setScopeProperty(scope, cssFileName, cssString, css); |
| 179 | this._onCssStateChange(); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | private setScopeProperty(scope: StyleScope, cssFileName?: string, cssString?: string, css?: string): void { |
| 184 | if (cssFileName !== undefined) { |
nothing calls this directly
no outgoing calls
no test coverage detected