UNPKG

ng-zorro-antd

Version:

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

28 lines (27 loc) 1.1 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 { Platform } from '@angular/cdk/platform'; import { ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzAnchorComponent } from './anchor.component'; export declare class NzAnchorLinkComponent implements OnInit, OnDestroy { elementRef: ElementRef; private anchorComp; private platform; private renderer; nzHref: string; titleStr: string | null; titleTpl?: TemplateRef<NzSafeAny>; set nzTitle(value: string | TemplateRef<void>); nzTemplate: TemplateRef<void>; linkTitle: ElementRef<HTMLAnchorElement>; constructor(elementRef: ElementRef, anchorComp: NzAnchorComponent, platform: Platform, renderer: Renderer2); ngOnInit(): void; getLinkTitleElement(): HTMLAnchorElement; setActive(): void; unsetActive(): void; goToClick(e: Event): void; ngOnDestroy(): void; }