GithubHelp home page GithubHelp logo

jesonhu / js-utils-event-helper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 86 KB

(JS 事件监听派发类) JS Event dispacher build with TS

Home Page: https://jesonhu.github.io/js-utils-event-helper/

TypeScript 85.98% HTML 8.48% JavaScript 5.54%
events events-manager js ts

js-utils-event-helper's Introduction

JS 事件监听派发类(JS Event dispacher build with TS)

Version

en|中文文档

API

public

name type description
addEventListener method add event listener
removeListener method remove event listener
dispatchEvent method dispacth an event listener
dispatchEventWith method dispach an event with some event params
once method create once event listener
hasEventListener method check event dispacth target is has expected event
notifyListener method core event dispach handler

private

name type description
$addListener method add event listener
$insertEventBin method add the event to event queue
$removeEventBin method remove the event from event queue

参考资料

js-utils-event-helper's People

Contributors

jesonhu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.