dynamicsmobile
Version:
Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com
29 lines • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.iOsPlatformBridge = void 0;
const dms_platform_bridge_1 = require("../platform/dms-platform-bridge");
class iOsPlatformBridge extends dms_platform_bridge_1.PlatformBridge {
constructor(dms) {
super(dms);
this.addIgnoredCommand('saveAllSettings');
}
execNextQueue() {
if (!this.isCmdPending && this.cmdQueue.length > 0) {
this.isCmdPending = true;
var cmd = this.cmdQueue[0];
var url = this.composeCommandUrl(cmd.id, cmd.command, cmd.params);
if (!this.iFrame) {
var iframe = document.createElement("iframe");
iframe.style.display = "none";
iframe.src = url;
document.documentElement.appendChild(iframe);
this.iFrame = iframe;
}
else {
this.iFrame.src = url;
}
}
}
}
exports.iOsPlatformBridge = iOsPlatformBridge;
//# sourceMappingURL=dms-platform-ios.js.map