@progress/kendo-angular-dialog
Version:
Dialog Package for Angular
55 lines (54 loc) • 2.15 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter, ElementRef, NgZone, AfterViewInit } from '@angular/core';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { PreventableEvent } from '../common/preventable-event';
import { SVGIcon } from '@progress/kendo-svg-icons';
import * as i0 from "@angular/core";
/**
* Represents the [Kendo UI DialogTitleBar component for Angular]({% slug api_dialog_dialogtitlebarcomponent %}).
*
* Use this component as part of the Dialog content when you create the Dialog dynamically with an [Angular service]({% slug service_dialog %}).
*
* ```html
* <kendo-dialog>
* <kendo-dialog-titlebar [id]="dialogId" (close)="onClose()">
* Dialog Title
* </kendo-dialog-titlebar>
* </kendo-dialog>
* ```
*
*/
export declare class DialogTitleBarComponent implements AfterViewInit {
private zone;
private hostElement;
private localizationService;
/**
* Fires when the close button in the title bar is clicked.
*/
close: EventEmitter<PreventableEvent>;
/**
* @hidden
*/
id: string;
/**
* @hidden
*/
closeTitle: string;
get className(): true;
/**
* @hidden
*/
xIcon: SVGIcon;
constructor(zone: NgZone, hostElement: ElementRef, localizationService: LocalizationService);
get closeButtonTitle(): string;
ngAfterViewInit(): void;
/**
* @hidden
*/
onCloseClick(e: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleBarComponent, [null, null, { optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitleBarComponent, "kendo-dialog-titlebar", never, { "id": { "alias": "id"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; }, { "close": "close"; }, never, ["*"], true, never>;
}