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

Method updateStyles

packages/core/test/acceptance/styling_spec.ts:2275–2278  ·  view source on GitHub ↗
(prop: string, value: string | number | null)

Source from the content-addressed store, hash-verified

2273
2274 public s: {[key: string]: any} | null = null;
2275 updateStyles(prop: string, value: string | number | null) {
2276 const s = this.s || (this.s = {});
2277 Object.assign(s, {[prop]: value});
2278 }
2279
2280 reset() {
2281 this.s = null;

Callers 1

styling_spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected