UNPKG

@progress/kendo-angular-dialog

Version:
32 lines (31 loc) 1.83 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Directive, ViewContainerRef } from '@angular/core'; import { WindowContainerService } from './window-container.service'; import * as i0 from "@angular/core"; import * as i1 from "./window-container.service"; /** * Represents an insertion point for Windows created through the Window service. * The created Windows mount after this element. ([See example.]({% slug api_dialog_windowservice %}#toc-open)) * * @example * ```html * <div kendoWindowContainer></div> * ``` */ export class WindowContainerDirective { constructor(container, service) { service.container = container; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: WindowContainerDirective, isStandalone: true, selector: "[kendoWindowContainer]", ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowContainerDirective, decorators: [{ type: Directive, args: [{ selector: '[kendoWindowContainer]', standalone: true }] }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.WindowContainerService }]; } });