tabs-ink-bar.directive.d.ts 1.2 KB

123456789101112131415161718192021222324
  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 { ElementRef, NgZone } from '@angular/core';
  6. import { NzTabPositionMode } from './interfaces';
  7. import * as i0 from "@angular/core";
  8. export declare class NzTabsInkBarDirective {
  9. private elementRef;
  10. private ngZone;
  11. position: NzTabPositionMode;
  12. animated: boolean;
  13. animationMode: "NoopAnimations" | "BrowserAnimations" | null;
  14. get _animated(): boolean;
  15. constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone);
  16. alignToElement(element: HTMLElement): void;
  17. setStyles(element: HTMLElement): void;
  18. getLeftPosition(element: HTMLElement): string;
  19. getElementWidth(element: HTMLElement): string;
  20. getTopPosition(element: HTMLElement): string;
  21. getElementHeight(element: HTMLElement): string;
  22. static ɵfac: i0.ɵɵFactoryDeclaration<NzTabsInkBarDirective, never>;
  23. static ɵdir: i0.ɵɵDirectiveDeclaration<NzTabsInkBarDirective, "nz-tabs-ink-bar, [nz-tabs-ink-bar]", never, { "position": { "alias": "position"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; }, {}, never, never, true, never>;
  24. }