pulse.js
Lightweight communication layer with phonegap
How to install
bower install pulse.js
Examples
// Listen to event
Pulse.listen('mapKit.didSelectAnnotationView', function(res) {
console.log('# mapKit.didSelectAnnotationView callback');
});// Emit event to iOS
Pulse.beat('MapKit.moveCenter', function(res) {
console.log('# MapKit.moveCenter', res);
});To do
- Extend to read and send objects and arrays.