ph-evt
v1.0.0
Published
eventemitter
Downloads
9
Readme
🚀 Welcome to your new awesome project!
This project has been created using webpack-cli, you can now run
npm i phevt
usage
import PhEvt from 'phevt'
//接口介绍
interface PhEvt{
on(e:string,fn)=>void
once(e:string,fn)=>void
off(e:string,fn?)=>void
emit(e:string,...args:any)=>void
}