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 { BooleanInput } from '@angular/cdk/coercion';
|
---|
12 | import { MatInkBar } from './ink-bar';
|
---|
13 | import { MatTabLabelWrapper } from './tab-label-wrapper';
|
---|
14 | import { Platform } from '@angular/cdk/platform';
|
---|
15 | import { MatPaginatedTabHeader } from './paginated-tab-header';
|
---|
16 | /**
|
---|
17 | * Base class with all of the `MatTabHeader` functionality.
|
---|
18 | * @docs-private
|
---|
19 | */
|
---|
20 | export declare abstract class _MatTabHeaderBase extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
|
---|
21 | /** Whether the ripple effect is disabled or not. */
|
---|
22 | get disableRipple(): any;
|
---|
23 | set disableRipple(value: any);
|
---|
24 | private _disableRipple;
|
---|
25 | constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
---|
26 | protected _itemSelected(event: KeyboardEvent): void;
|
---|
27 | }
|
---|
28 | /**
|
---|
29 | * The header of the tab group which displays a list of all the tabs in the tab group. Includes
|
---|
30 | * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the
|
---|
31 | * width of the header container, then arrows will be displayed to allow the user to scroll
|
---|
32 | * left and right across the header.
|
---|
33 | * @docs-private
|
---|
34 | */
|
---|
35 | export declare class MatTabHeader extends _MatTabHeaderBase {
|
---|
36 | _items: QueryList<MatTabLabelWrapper>;
|
---|
37 | _inkBar: MatInkBar;
|
---|
38 | _tabListContainer: ElementRef;
|
---|
39 | _tabList: ElementRef;
|
---|
40 | _nextPaginator: ElementRef<HTMLElement>;
|
---|
41 | _previousPaginator: ElementRef<HTMLElement>;
|
---|
42 | constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
---|
43 | static ngAcceptInputType_disableRipple: BooleanInput;
|
---|
44 | }
|
---|