2.0.3 • Published 6 years ago

wx-event-emitter v2.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

wx-event-emitter

EventEmitter for browser, Miniprogram(weapp/wxapp).

Install

To use this module directly (without browserify), install it:

npm install wx-event-emitter

With npm Or Miniprogram do:

const EventEmitter = require('wx-event-emitter');

For use in web browsers do:

<script src="dist/event-emitter.js"></script>

Add Namespace

emitter.on('click.a');

Documentation

The API in line with Nodejs. Nodejs

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago