Skip to content

Standalone UI event delegate implementation, provide multiple styles/modes

Notifications You must be signed in to change notification settings

dexteryy/SovietJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published