2.0.3 • Published 4 years ago

wx-event-emitter v2.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 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

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago