lib-hhconnect
v2.0.0
Published
Post message lib
Downloads
3
Readme
HackHands Cross-origin iFrame API protocol
v2.0.0
//Init var HH = hhConnect({ target: })
// Call a Method HH.call(, , ) HH.call('calc', 'hello', function(error, cb){
});
// Bind a Method response/logic HH.bind(, ) HH.bind('calc', function(params, cb){
});
// Listen for an event x.on(, )
// Emit an event x.emit(, )