UNPKG

ng-zorro-antd

Version:

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

31 lines (30 loc) 1.55 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 { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzTabNavItemDirective } from './tab-nav-item.directive'; import * as i0 from "@angular/core"; export declare class NzTabNavOperationComponent implements OnDestroy { cdr: ChangeDetectorRef; private elementRef; items: NzTabNavItemDirective[]; addable: boolean; addIcon: string | TemplateRef<NzSafeAny>; readonly addClicked: EventEmitter<void>; readonly selected: EventEmitter<NzTabNavItemDirective>; closeAnimationWaitTimeoutId: number; menuOpened: boolean; private readonly element; constructor(cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>); onSelect(item: NzTabNavItemDirective): void; onContextmenu(item: NzTabNavItemDirective, e: MouseEvent): void; showItems(): void; menuVisChange(visible: boolean): void; getElementWidth(): number; getElementHeight(): number; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NzTabNavOperationComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NzTabNavOperationComponent, "nz-tab-nav-operation", ["nzTabNavOperation"], { "items": "items"; "addable": "addable"; "addIcon": "addIcon"; }, { "addClicked": "addClicked"; "selected": "selected"; }, never, never>; }