(prop: string, value: string | number | null)
| 2176 | |
| 2177 | public s = signal<{[key: string]: any} | null>(null); |
| 2178 | updateStyles(prop: string, value: string | number | null) { |
| 2179 | const s = {...(this.s() || {})}; |
| 2180 | Object.assign(s, {[prop]: value}); |
| 2181 | this.s.set(s); |
| 2182 | } |
| 2183 | |
| 2184 | reset() { |
| 2185 | this.s.set(null); |