Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Standalone UI event delegate implementation, provide multiple styles/modes
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

Something went wrong with that request. Please try again.