@mpkit/ebus
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@mpkit/ebus

Build Status image image image

提供事件触发、监听等功能。

  • on(type:string, handler:Function)
  • off(type:string, handler:Function)
  • emit(type:string, data:any)
  • EventEmitter

Package Sidebar

Install

npm i @mpkit/ebus

Weekly Downloads

3

Version

1.1.2

License

MIT

Unpacked Size

19.5 kB

Total Files

11

Last publish

Collaborators

  • imingyu