modulex-event-custom

1.0.3 • Public • Published

event-custom

custom event register and fire like dom event

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

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');

/modulex-event-custom/

    Package Sidebar

    Install

    npm i modulex-event-custom

    Weekly Downloads

    3

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • yiminghe