* Notify that an element-scoped variable was written. * @param {string} name - Variable name * @param {Element} element - Owning element
(name, element)
| 292 | * @param {Element} element - Owning element |
| 293 | */ |
| 294 | notifyElementSymbol(name, element) { |
| 295 | if (!element) return; |
| 296 | var state = this._getObjectState(element); |
| 297 | if (state.subscriptions) { |
| 298 | var subs = state.subscriptions.get(name); |
| 299 | if (subs) { |
| 300 | for (var effect of subs) { |
| 301 | this._scheduleEffect(effect); |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * Notify that a property was written programmatically. |
no test coverage detected