anchor-link.component.d.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { Platform } from '@angular/cdk/platform';
  6. import { ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core';
  7. import { NzDirectionVHType, NzSafeAny } from 'ng-zorro-antd/core/types';
  8. import { NzAnchorComponent } from './anchor.component';
  9. import * as i0 from "@angular/core";
  10. export declare class NzAnchorLinkComponent implements OnInit, OnDestroy {
  11. elementRef: ElementRef;
  12. private anchorComp;
  13. private platform;
  14. private renderer;
  15. nzHref: string;
  16. nzTarget?: string;
  17. titleStr: string | null;
  18. titleTpl?: TemplateRef<NzSafeAny>;
  19. nzDirection: NzDirectionVHType;
  20. set nzTitle(value: string | TemplateRef<void>);
  21. nzTemplate: TemplateRef<void>;
  22. linkTitle: ElementRef<HTMLAnchorElement>;
  23. constructor(elementRef: ElementRef, anchorComp: NzAnchorComponent, platform: Platform, renderer: Renderer2);
  24. ngOnInit(): void;
  25. getLinkTitleElement(): HTMLAnchorElement;
  26. setActive(): void;
  27. unsetActive(): void;
  28. goToClick(e: Event): void;
  29. ngOnDestroy(): void;
  30. static ɵfac: i0.ɵɵFactoryDeclaration<NzAnchorLinkComponent, never>;
  31. static ɵcmp: i0.ɵɵComponentDeclaration<NzAnchorLinkComponent, "nz-link", ["nzLink"], { "nzHref": { "alias": "nzHref"; "required": false; }; "nzTarget": { "alias": "nzTarget"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; }, {}, ["nzTemplate"], ["*"], true, never>;
  32. }