cordova-plugin-mytarget
Version:
MyTarget integration for cordova
17 lines (12 loc) • 488 B
JavaScript
function MyTarget() {
}
MyTarget.prototype.makeBanner = function(slotId, success, fail) {
cordova.exec(success, fail, "MyTargetPlugin", "makeBanner", [slotId]);
}
MyTarget.prototype.removeBanner = function(success, fail) {
cordova.exec(success, fail, "MyTargetPlugin", "removeBanner", []);
}
MyTarget.prototype.makeFullscreen = function(slotId, success, fail) {
cordova.exec(success, fail, "MyTargetPlugin", "makeFullscreen", [slotId]);
}
module.exports = new MyTarget();