lib-hhconnect

2.0.0 • Public • Published

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(, )


Readme

Keywords

none

Package Sidebar

Install

npm i lib-hhconnect

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • hackhands