* Notify that an element-scoped variable was written. * @param {string} name - Variable name * @param {Element} element - Owning element
(name, element)
| 3170 | * @param {Element} element - Owning element |
| 3171 | */ |
| 3172 | notifyElementSymbol(name, element) { |
| 3173 | if (!element) return; |
| 3174 | var state = this._getObjectState(element); |
| 3175 | if (state.subscriptions) { |
| 3176 | var subs = state.subscriptions.get(name); |
| 3177 | if (subs) { |
| 3178 | for (var effect of subs) { |
| 3179 | this._scheduleEffect(effect); |
| 3180 | } |
| 3181 | } |
| 3182 | } |
| 3183 | } |
| 3184 | /** |
| 3185 | * Notify that a property was written programmatically. |
| 3186 | * Schedules all effects watching properties on this object. |
no test coverage detected