UNPKG

ng-zorro-antd

Version:

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

24 lines (23 loc) 983 B
/** * 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 { ElementRef, TemplateRef } from '@angular/core'; import { RouterLink, RouterLinkWithHref } from '@angular/router'; import { TabTemplateContext } from './interfaces'; /** * Fix https://github.com/angular/angular/issues/8563 */ export declare class NzTabLinkTemplateDirective { templateRef: TemplateRef<TabTemplateContext>; constructor(templateRef: TemplateRef<TabTemplateContext>); } /** * This component is for catching `routerLink` directive. */ export declare class NzTabLinkDirective { elementRef: ElementRef<HTMLAnchorElement>; routerLink?: RouterLink | undefined; routerLinkWithHref?: RouterLinkWithHref | undefined; constructor(elementRef: ElementRef<HTMLAnchorElement>, routerLink?: RouterLink | undefined, routerLinkWithHref?: RouterLinkWithHref | undefined); }