1.0.0 • Published 3 years ago

ph-evt v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

🚀 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
}