ionic-angular
Version:
A powerful framework for building mobile and progressive web apps with JavaScript and Angular
44 lines • 1.86 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", "./popover-impl"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var overlay_proxy_1 = require("../../navigation/overlay-proxy");
var popover_impl_1 = require("./popover-impl");
/**
* @hidden
*/
var Popover = (function (_super) {
__extends(Popover, _super);
function Popover(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;
}
Popover.prototype.getImplementation = function () {
return new popover_impl_1.PopoverImpl(this._app, this._component, this.data, this.opts, this._config);
};
return Popover;
}(overlay_proxy_1.OverlayProxy));
exports.Popover = Popover;
});
//# sourceMappingURL=popover.js.map