UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

38 lines (37 loc) 1.49 kB
/** * @license * Copyright Alibaba.com All Rights Reserved. * * 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, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core'; import { NzConfigService } from 'ng-zorro-antd/core/config'; import { BooleanInput } from 'ng-zorro-antd/core/types'; export declare class NzAlertComponent implements OnChanges, OnDestroy { nzConfigService: NzConfigService; private cdr; static ngAcceptInputType_nzCloseable: BooleanInput; static ngAcceptInputType_nzShowIcon: BooleanInput; static ngAcceptInputType_nzBanner: BooleanInput; nzCloseText: string | TemplateRef<void> | null; nzIconType: string | null; nzMessage: string | TemplateRef<void> | null; nzDescription: string | TemplateRef<void> | null; nzType: 'success' | 'info' | 'warning' | 'error'; nzCloseable: boolean; nzShowIcon: boolean; nzBanner: boolean; readonly nzOnClose: EventEmitter<boolean>; closed: boolean; iconTheme: 'outline' | 'fill'; inferredIconType: string; private isTypeSet; private isShowIconSet; private destroy$; constructor(nzConfigService: NzConfigService, cdr: ChangeDetectorRef); closeAlert(): void; onFadeAnimationDone(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; }