* Notify that a property was written programmatically. * Schedules all effects watching properties on this object. * @param {Object} obj - DOM element or plain JS object
(obj)
| 3122 | * @param {Object} obj - DOM element or plain JS object |
| 3123 | */ |
| 3124 | notifyProperty(obj) { |
| 3125 | if (obj == null || typeof obj !== "object" || obj._hsSkipTracking) return; |
| 3126 | var state = this._objectState.get(obj); |
| 3127 | if (state && state.propertyHandler) { |
| 3128 | state.propertyHandler.queueAll(); |
| 3129 | } |
| 3130 | } |
| 3131 | /** |
| 3132 | * Add an effect to the pending set. |
| 3133 | * Schedules a microtask to run them if one isn't already scheduled. |
no test coverage detected