Standalone UI event delegate implementation, provide multiple styles/modes
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
README.md
bower.json
package.json
soviet.js

README.md

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.