tab-header.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import { Directionality } from '@angular/cdk/bidi';
  9. import { ViewportRuler } from '@angular/cdk/scrolling';
  10. import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, QueryList, AfterViewInit } from '@angular/core';
  11. import { MatInkBar } from './ink-bar';
  12. import { MatTabLabelWrapper } from './tab-label-wrapper';
  13. import { Platform } from '@angular/cdk/platform';
  14. import { MatPaginatedTabHeader } from './paginated-tab-header';
  15. /**
  16. * The header of the tab group which displays a list of all the tabs in the tab group. Includes
  17. * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the
  18. * width of the header container, then arrows will be displayed to allow the user to scroll
  19. * left and right across the header.
  20. * @docs-private
  21. */
  22. export declare class MatTabHeader extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
  23. _items: QueryList<MatTabLabelWrapper>;
  24. _inkBar: MatInkBar;
  25. _tabListContainer: ElementRef;
  26. _tabList: ElementRef;
  27. _nextPaginator: ElementRef<HTMLElement>;
  28. _previousPaginator: ElementRef<HTMLElement>;
  29. /** Whether the ripple effect is disabled or not. */
  30. disableRipple: any;
  31. private _disableRipple;
  32. constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
  33. protected _itemSelected(event: KeyboardEvent): void;
  34. }