panel-bridge-client
v1.0.1
Published
Client library for connecting to panel bridge
Downloads
50
Readme
bridge-client
Client library for connecting to panel bridge
var bridge = new Bridge();
bridge.emit('someAction', {
message: 'This is a message from bridge'
});
bridge.on('someEvent', function (data) {
console.log(data);
});
development
Edit src/main.coffee
, use npm run prepublish
to build compiled and minified lib/bridge.js
.