ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
11 lines (10 loc) • 458 B
TypeScript
import { TemplateRef, Type } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { NzEmptyCustomContent } from './nz-empty-config';
export declare class NzEmptyService<T = any> {
private defaultEmptyContent;
userDefaultContent$: BehaviorSubject<string | Type<any> | TemplateRef<any> | undefined>;
constructor(defaultEmptyContent: Type<T>);
setDefaultContent(content?: NzEmptyCustomContent): void;
resetDefault(): void;
}