You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ganga satish kumar d3b0d187a2 login screen styling 3 years ago
..
test ahc dashboard ui 3 years ago
.npmignore ahc dashboard ui 3 years ago
.travis.yml ahc dashboard ui 3 years ago
History.md ahc dashboard ui 3 years ago
LICENSE ahc dashboard ui 3 years ago
Makefile ahc dashboard ui 3 years ago
README.md ahc dashboard ui 3 years ago
index.js ahc dashboard ui 3 years ago
package.json dashboard styling 3 years ago

README.md

custom-event

Cross-browser CustomEvent constructor

Sauce Test Status

Build Status

https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent.CustomEvent

Installation

$ npm install custom-event

Example

var CustomEvent = require('custom-event');

// add an appropriate event listener
target.addEventListener('cat', function(e) { process(e.detail) });

// create and dispatch the event
var event = new CustomEvent('cat', {
  detail: {
    hazcheeseburger: true
  }
});
target.dispatchEvent(event);