MCPcopy Create free account
hub / github.com/angular/angular / updateStyles

Method updateStyles

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

Source from the content-addressed store, hash-verified

2058
2059 public s: {[key: string]: any} | null = null;
2060 updateStyles(prop: string, value: string | number | null) {
2061 const s = this.s || (this.s = {});
2062 Object.assign(s, {[prop]: value});
2063 }
2064
2065 reset() {
2066 this.s = null;

Callers 1

styling_spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected