Skip to content

D-Mobilelab/callbacky

Repository files navigation

callbacky

Build Status Coverage Status npm version Bower version GitHub version

Callbacky is a Javascript event handler that allows multiple parts of an application communicate with each other.

Usage

Callbacky.init();

Callbacky.bind('eventName', function(args){ 
  console.log(args)) 
});
Callbacky.bind('eventName', function(args){ 
  console.warn(args)) 
});

Callbacky.trigger('eventName', 'world');
/* IT EXECUTES: 
console.log('world');
console.warn('world');
*/

Installation

NPM

npm install --save callbacky

You can found the library ready for production on node_modules/callbacky/dist/dist.js

Bower

bower install --save callbacky

You can found the library ready for production on bower_components/callbacky/dist/dist.js

Documentation

To read documentation, go to:

http://d-mobilelab.github.io/callbacky/1.0.1

Replace 1.0.1 with the version of the documentation you want to read.

About

A Javascript event handler that allows multiple parts of an application communicate with each other

Resources

Stars

Watchers

Forks

Packages

No packages published