message-event
v0.0.1
Published
``` npm install message-event --save ```
Downloads
5
Readme
message-event 模块
npm install message-event --save
使用
import Message from 'message-event';
const message = new Message();
message.on('xxx',()=>{
})
message.fire('xxx',()=>{
})
message.off('xxx',()=>{
})
api
message.on,message.fire,message.off
detail 工具
tnpm install @ali/detail-toolkit -g