UNPKG

ng-zorro-antd

Version:

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

32 lines (31 loc) 1.49 kB
/** * 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 { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core'; import { Location } from '@angular/common'; import { NzConfigKey, NzConfigService } from 'ng-zorro-antd/core/config'; import { NzResizeObserver } from 'ng-zorro-antd/core/resize-observers'; import { Subject } from 'rxjs'; import { NzPageHeaderBreadcrumbDirective, NzPageHeaderFooterDirective } from './page-header-cells'; export declare class NzPageHeaderComponent implements AfterViewInit, OnDestroy { private location; nzConfigService: NzConfigService; private elementRef; private nzResizeObserver; private cdr; readonly _nzModuleName: NzConfigKey; nzBackIcon: string | TemplateRef<void> | null; nzTitle?: string | TemplateRef<void>; nzSubtitle?: string | TemplateRef<void>; nzGhost: boolean; readonly nzBack: EventEmitter<void>; nzPageHeaderFooter?: ElementRef<NzPageHeaderFooterDirective>; nzPageHeaderBreadcrumb?: ElementRef<NzPageHeaderBreadcrumbDirective>; compact: boolean; destroy$: Subject<void>; constructor(location: Location, nzConfigService: NzConfigService, elementRef: ElementRef, nzResizeObserver: NzResizeObserver, cdr: ChangeDetectorRef); ngAfterViewInit(): void; onBack(): void; ngOnDestroy(): void; }