Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

WebReflection/event-target

Repository files navigation

event-target donate License: ISC Build Status Coverage Status

Deprecated

The module has been improved and moved under the @ungap umbrella.

https://github.com/ungap/event-target


The EventTarget Class Polyfill.

How to use it:

  • via CDN, as global variable: https://unpkg.com/event-target@latest/min.js
  • ponyfill via ESM, as external module: https://unpkg.com/event-target@latest/esm/index.js
  • ponyfill via CJS: const EventTarget = require('event-target').default;
  • ponyfill via bundlers/transpilers: import EventTarget from 'event-target'; ( or from 'event-target/esm' )

Compatibility:

Every. JavaScript. Engine.