# CustomEvent

[![Build Status](https://travis-ci.com/ungap/custom-event.svg?branch=master)](https://travis-ci.com/ungap/custom-event) [![Coverage Status](https://coveralls.io/repos/github/ungap/custom-event/badge.svg?branch=master)](https://coveralls.io/github/ungap/custom-event?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/custom-event.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)

A [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent) polyfill for legacy browsers.

  * CDN via https://unpkg.com/@ungap/custom-event
  * ESM via `import CustomEvent from '@ungap/custom-event'`
  * CJS via `const CustomEvent = require('@ungap/custom-event')`

Compatible with IE11, requires [dom4](https://github.com/WebReflection/dom4#dom4) upfront for older browsers.

[Live test](https://ungap.github.io/custom-event/test/)
