UNPKG

ngx-bootstrap

Version:
32 lines 1.85 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @copyright Valor Software * @copyright Angular ng-bootstrap team */ var Trigger = /** @class */ (function () { function Trigger(open, close) { this.open = open; this.close = close || open; } /** * @return {?} */ Trigger.prototype.isManual = /** * @return {?} */ function () { return this.open === 'manual' || this.close === 'manual'; }; return Trigger; }()); export { Trigger }; if (false) { /** @type {?} */ Trigger.prototype.open; /** @type {?} */ Trigger.prototype.close; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJpZ2dlci5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1ib290c3RyYXAvdXRpbHMvIiwic291cmNlcyI6WyJ0cmlnZ2VyLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0E7SUFJRSxpQkFBWSxJQUFZLEVBQUUsS0FBYztRQUN0QyxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssSUFBSSxJQUFJLENBQUM7SUFDN0IsQ0FBQzs7OztJQUVELDBCQUFROzs7SUFBUjtRQUNFLE9BQU8sSUFBSSxDQUFDLElBQUksS0FBSyxRQUFRLElBQUksSUFBSSxDQUFDLEtBQUssS0FBSyxRQUFRLENBQUM7SUFDM0QsQ0FBQztJQUNILGNBQUM7QUFBRCxDQUFDLEFBWkQsSUFZQzs7OztJQVhDLHVCQUFhOztJQUNiLHdCQUFlIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAY29weXJpZ2h0IFZhbG9yIFNvZnR3YXJlXG4gKiBAY29weXJpZ2h0IEFuZ3VsYXIgbmctYm9vdHN0cmFwIHRlYW1cbiAqL1xuXG5leHBvcnQgY2xhc3MgVHJpZ2dlciB7XG4gIG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