ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
25 lines (24 loc) • 1.13 kB
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';
import * as i0 from "@angular/core";
export declare class NzNotificationComponent extends NzMNComponent implements OnDestroy {
instance: Required<NzNotificationData>;
index: number;
placement?: string;
readonly destroyed: EventEmitter<{
id: string;
userAction: boolean;
}>;
constructor(cdr: ChangeDetectorRef);
ngOnDestroy(): void;
onClick(event: MouseEvent): void;
close(): void;
get state(): string | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<NzNotificationComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzNotificationComponent, "nz-notification", ["nzNotification"], { "instance": "instance"; "index": "index"; "placement": "placement"; }, { "destroyed": "destroyed"; }, never, never>;
}