ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
30 lines (29 loc) • 1.16 kB
TypeScript
/**
* @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, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { NzI18nService } from 'ng-zorro-antd/i18n';
declare const NzEmptyDefaultImages: readonly ["default", "simple"];
declare type NzEmptyNotFoundImageType = typeof NzEmptyDefaultImages[number] | null | string | TemplateRef<void>;
export declare class NzEmptyComponent implements OnChanges, OnInit, OnDestroy {
private i18n;
private cdr;
nzNotFoundImage: NzEmptyNotFoundImageType;
nzNotFoundContent: string | TemplateRef<void> | null;
nzNotFoundFooter: string | TemplateRef<void>;
isContentString: boolean;
isImageBuildIn: boolean;
locale: {
[key: string]: string;
};
private readonly destroy$;
constructor(i18n: NzI18nService, cdr: ChangeDetectorRef);
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
ngOnDestroy(): void;
}
export {};