The [EventTarget interface](https://dom.spec.whatwg.org/#interface-eventtarget), which is also [already polyfilled in here](https://github.com/WebReflection/event-target#event-target----), supports `handleEvent` method through objects/instances. ```js callback interface EventListener { void handleEvent(Event event); }; ``` This polyfill breaks standard behavior when an object, instead of a callback, is passed as listener and the third parameter is an object too. More on the topic, with various use cases and explained benefits, in [this post](https://medium.com/@WebReflection/dom-handleevent-a-cross-platform-standard-since-year-2000-5bf17287fd38).
The EventTarget interface, which is also already polyfilled in here, supports
handleEventmethod through objects/instances.This polyfill breaks standard behavior when an object, instead of a callback, is passed as listener and the third parameter is an object too.
More on the topic, with various use cases and explained benefits, in this post.