Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.25 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.25 KB

event-custom

custom event register and fire like dom event

modulex-event-custom NPM downloads Build Status Coverage Status Dependency Status Bower version node version

browser support

example on node

var event = require('modulex-event-custom');
var xutil = require('modulex-util');
var target= xutil.mix({},event.Target);
target.on('my', function(){
});
target.fire('my');