ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
22 lines (21 loc) • 791 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
import { NzMNComponent } from 'ng-zorro-antd/message';
import { NzNotificationData } from './typings';
export declare class NzNotificationComponent extends NzMNComponent implements OnDestroy {
instance: Required<NzNotificationData>;
placement?: string;
index: number;
readonly destroyed: EventEmitter<{
id: string;
userAction: boolean;
}>;
constructor(cdr: ChangeDetectorRef);
ngOnDestroy(): void;
onClick(event: MouseEvent): void;
close(): void;
get state(): string | undefined;
}