event-debugger

0.0.4 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    2

Package Sidebar

Install

npm i event-debugger

Weekly Downloads

4

Version

0.0.4

License

MIT

Last publish

Collaborators

  • mattmueller