* Handle delegated input/change events. Dispatches to property and * query subscriptions. * @param {Event} event
(event)
| 3263 | * @param {Event} event |
| 3264 | */ |
| 3265 | _handleDOMEvent(event) { |
| 3266 | var el = event.target; |
| 3267 | if (!(el instanceof Element)) return; |
| 3268 | var state = this._objectState.get(el); |
| 3269 | if (state) { |
| 3270 | var subs = this._propertySubscriptions.get(state.id); |
| 3271 | if (subs) { |
| 3272 | for (var effect of subs) { |
| 3273 | this._scheduleEffect(effect); |
| 3274 | } |
| 3275 | } |
| 3276 | } |
| 3277 | this._scheduleQueryEffects(el); |
| 3278 | } |
| 3279 | /** |
| 3280 | * Schedule effects watching a specific attribute on a specific element. |
| 3281 | * @param {Element} element |
no test coverage detected