Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 2.5 KB

README.md

File metadata and controls

81 lines (56 loc) · 2.5 KB

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.