UNPKG

ngx-modialog

Version:
52 lines (51 loc) 1.67 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import { Component, ViewEncapsulation, ElementRef, Renderer2 } from '@angular/core'; import { BaseDynamicComponent } from './base-dynamic-component'; import { DialogRef } from '../models/dialog-ref'; /** * A component that acts as a top level container for an open modal window. */ export class CSSDialogContainer extends BaseDynamicComponent { /** * @param {?} dialog * @param {?} el * @param {?} renderer */ constructor(dialog, el, renderer) { super(el, renderer); this.dialog = dialog; this.activateAnimationListener(); } } CSSDialogContainer.decorators = [ { type: Component, args: [{ selector: 'css-dialog-container', host: { 'tabindex': '-1', 'role': 'dialog' }, encapsulation: ViewEncapsulation.None, template: `<ng-content></ng-content>` },] }, ]; /** @nocollapse */ CSSDialogContainer.ctorParameters = () => [ { type: DialogRef, }, { type: ElementRef, }, { type: Renderer2, }, ]; function CSSDialogContainer_tsickle_Closure_declarations() { /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ CSSDialogContainer.decorators; /** * @nocollapse * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>} */ CSSDialogContainer.ctorParameters; /** @type {?} */ CSSDialogContainer.prototype.dialog; } //# sourceMappingURL=css-dialog-container.js.map