dexteryy / SovietJS

Standalone UI event delegate implementation, provide multiple styles/modes

Home Page:http://ozjs.org/SovietJS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SovietJS

  • Standalone UI event delegate implementation
  • Provide multiple styles/modes: override, automatically preventDefault, partial matching, exact matching...

Usage

AMD and OzJS

Get the code

Add to your project as new dependency

Or download directly from Github

Dependencies

Examples

Under construction...

API and usage

var soviet = require('soviet');
  • soviet(elm/*, options */) --
    • options:
      • preventDefault -- false
      • matchesSelector -- false
      • autoOverride -- false
      • aliasEvents -- {}
      • trace -- false
      • traceStack -- null
    • API:
      • on(event/*, selector */, handler) --
      • on(event, { 'selector': handler, ... }) --
      • off(event, selector, handler) --
      • matches(event, selector) --
      • reset(event) --
      • disable(event, selector) --
      • enable(event, selector) --
      • trigger(ev) --
  • soviet.Soviet --

Under construction...

More References

See OzJS Project Homepage

Release History

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.

About

Standalone UI event delegate implementation, provide multiple styles/modes

http://ozjs.org/SovietJS/


Languages

Language:JavaScript 100.0%