tab-nav-item.directive.d.ts 1.2 KB

1234567891011121314151617181920212223242526
  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 { FocusableOption } from '@angular/cdk/a11y';
  6. import { ElementRef } from '@angular/core';
  7. import { NzTabComponent } from './tab.component';
  8. import * as i0 from "@angular/core";
  9. export declare class NzTabNavItemDirective implements FocusableOption {
  10. elementRef: ElementRef<HTMLElement>;
  11. disabled: boolean;
  12. tab: NzTabComponent;
  13. active: boolean;
  14. private el;
  15. private parentElement;
  16. constructor(elementRef: ElementRef<HTMLElement>);
  17. focus(): void;
  18. get width(): number;
  19. get height(): number;
  20. get left(): number;
  21. get top(): number;
  22. static ɵfac: i0.ɵɵFactoryDeclaration<NzTabNavItemDirective, never>;
  23. static ɵdir: i0.ɵɵDirectiveDeclaration<NzTabNavItemDirective, "[nzTabNavItem]", never, { "disabled": { "alias": "disabled"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
  24. static ngAcceptInputType_disabled: unknown;
  25. static ngAcceptInputType_active: unknown;
  26. }