kirbysayshi / event-debugger

step through events! must be initialized at the top of your scripts.

Home Page:http://matthewmueller.github.io/event-debugger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

event-debugger

step through events! must be initialized at the top of your scripts.

event debugger

Installation

$ component install matthewmueller/event-debugger

Example

var ed = require('event-debugger');
ed('click');

$('li').click(function() {
  console.log('li');
});

$('body').click(function() {
  console.log('body');
});

API

EventDebugger(type)

Initialize the event debugger with a given type. type supports both strings and regex.

ed(/^(mouseover|mousedown)$/)

License

MIT

About

step through events! must be initialized at the top of your scripts.

http://matthewmueller.github.io/event-debugger/


Languages

Language:JavaScript 100.0%