@f/event-constructors

1.0.0 • Public • Published

event-constructors

Build status Git tag NPM version Code style

A map of DOM event names to their constructors

Installation

$ npm install @f/event-constructors

Usage

var events = require('@f/event-constructors')

function createEvent (type, opts) {
  return new events[type](type, opts)
}

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/event-constructors

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • f