ionic-angular
Version:
A powerful framework for building mobile and progressive web apps with JavaScript and Angular
44 lines • 1.84 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "../../navigation/overlay-proxy", "./modal-impl"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var overlay_proxy_1 = require("../../navigation/overlay-proxy");
var modal_impl_1 = require("./modal-impl");
/**
* @hidden
*/
var Modal = (function (_super) {
__extends(Modal, _super);
function Modal(app, component, data, opts, config, deepLinker) {
if (opts === void 0) { opts = {}; }
var _this = _super.call(this, app, component, config, deepLinker) || this;
_this.data = data;
_this.opts = opts;
_this.isOverlay = true;
return _this;
}
Modal.prototype.getImplementation = function () {
return new modal_impl_1.ModalImpl(this._app, this._component, this.data, this.opts, this._config);
};
return Modal;
}(overlay_proxy_1.OverlayProxy));
exports.Modal = Modal;
});
//# sourceMappingURL=modal.js.map