Skip to content

eugene-eeo/evee.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evee.js

Modular, modern, and tiny DOM events library.

  • Comes in at 0.3kB minified without any plugins
  • The entire suite (including all plugins) weighs in around 0.9kB minified
  • Support for event delegation and Event data
  • No mucking around with prototypes
  • Extensible with plugins

Works great with nut.js and nanojax.

Usage

<script src='/path/to/evee.js'></script>
var fn = evee.on(el, 'click', function(ev) {
});
evee.fire(el, 'click');
evee.fire(el, 'click', override);
evee.off(el, 'click', fn);

Installation

$ bower install eugene-eeo/evee.js

Hacking

$ git clone github.com/eugene-eeo/evee.js
$ cd evee.js
$ make