UNPKG

ng-zorro-antd

Version:

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

37 lines (36 loc) 1.7 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, OnInit, TemplateRef } from '@angular/core'; import { Direction, Directionality } from '@angular/cdk/bidi'; 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, OnInit { private location; nzConfigService: NzConfigService; private elementRef; private nzResizeObserver; private cdr; private directionality; 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>; dir: Direction; constructor(location: Location, nzConfigService: NzConfigService, elementRef: ElementRef, nzResizeObserver: NzResizeObserver, cdr: ChangeDetectorRef, directionality: Directionality); ngOnInit(): void; ngAfterViewInit(): void; onBack(): void; ngOnDestroy(): void; getBackIcon(): string; }