source: trip-planner-front/node_modules/@angular/material/tabs/tab-nav-bar/tab-nav-bar.d.ts.__ivy_ngcc_bak

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 5.2 KB
Line 
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 */
8import { FocusableOption, FocusMonitor } from '@angular/cdk/a11y';
9import { Directionality } from '@angular/cdk/bidi';
10import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
11import { Platform } from '@angular/cdk/platform';
12import { ViewportRuler } from '@angular/cdk/scrolling';
13import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
14import { CanDisable, CanDisableRipple, HasTabIndex, RippleConfig, RippleGlobalOptions, RippleTarget, ThemePalette } from '@angular/material/core';
15import { MatInkBar } from '../ink-bar';
16import { MatPaginatedTabHeader, MatPaginatedTabHeaderItem } from '../paginated-tab-header';
17/**
18 * Base class with all of the `MatTabNav` functionality.
19 * @docs-private
20 */
21export declare abstract class _MatTabNavBase extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, OnDestroy {
22 /** Query list of all tab links of the tab navigation. */
23 abstract _items: QueryList<MatPaginatedTabHeaderItem & {
24 active: boolean;
25 }>;
26 /** Background color of the tab nav. */
27 get backgroundColor(): ThemePalette;
28 set backgroundColor(value: ThemePalette);
29 private _backgroundColor;
30 /** Whether the ripple effect is disabled or not. */
31 get disableRipple(): any;
32 set disableRipple(value: any);
33 private _disableRipple;
34 /** Theme color of the nav bar. */
35 color: ThemePalette;
36 constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string);
37 protected _itemSelected(): void;
38 ngAfterContentInit(): void;
39 /** Notifies the component that the active link has been changed. */
40 updateActiveLink(): void;
41}
42/**
43 * Navigation component matching the styles of the tab group header.
44 * Provides anchored navigation with animated ink bar.
45 */
46export declare class MatTabNav extends _MatTabNavBase {
47 _items: QueryList<MatTabLink>;
48 _inkBar: MatInkBar;
49 _tabListContainer: ElementRef;
50 _tabList: ElementRef;
51 _nextPaginator: ElementRef<HTMLElement>;
52 _previousPaginator: ElementRef<HTMLElement>;
53 constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string);
54 static ngAcceptInputType_disableRipple: BooleanInput;
55}
56declare const _MatTabLinkMixinBase: import("@angular/material/core/common-behaviors/constructor").Constructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisableRipple> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisableRipple> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & {
57 new (): {};
58};
59/** Base class with all of the `MatTabLink` functionality. */
60export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements AfterViewInit, OnDestroy, CanDisable, CanDisableRipple, HasTabIndex, RippleTarget, FocusableOption {
61 private _tabNavBar;
62 /** @docs-private */ elementRef: ElementRef;
63 private _focusMonitor;
64 /** Whether the tab link is active or not. */
65 protected _isActive: boolean;
66 /** Whether the link is active. */
67 get active(): boolean;
68 set active(value: boolean);
69 /**
70 * Ripple configuration for ripples that are launched on pointer down. The ripple config
71 * is set to the global ripple options since we don't have any configurable options for
72 * the tab link ripples.
73 * @docs-private
74 */
75 rippleConfig: RippleConfig & RippleGlobalOptions;
76 /**
77 * Whether ripples are disabled on interaction.
78 * @docs-private
79 */
80 get rippleDisabled(): boolean;
81 constructor(_tabNavBar: _MatTabNavBase,
82 /** @docs-private */ elementRef: ElementRef, globalRippleOptions: RippleGlobalOptions | null, tabIndex: string, _focusMonitor: FocusMonitor, animationMode?: string);
83 /** Focuses the tab link. */
84 focus(): void;
85 ngAfterViewInit(): void;
86 ngOnDestroy(): void;
87 _handleFocus(): void;
88 static ngAcceptInputType_active: BooleanInput;
89 static ngAcceptInputType_disabled: BooleanInput;
90 static ngAcceptInputType_disableRipple: BooleanInput;
91 static ngAcceptInputType_tabIndex: NumberInput;
92}
93/**
94 * Link inside of a `mat-tab-nav-bar`.
95 */
96export declare class MatTabLink extends _MatTabLinkBase implements OnDestroy {
97 /** Reference to the RippleRenderer for the tab-link. */
98 private _tabLinkRipple;
99 constructor(tabNavBar: MatTabNav, elementRef: ElementRef, ngZone: NgZone, platform: Platform, globalRippleOptions: RippleGlobalOptions | null, tabIndex: string, focusMonitor: FocusMonitor, animationMode?: string);
100 ngOnDestroy(): void;
101}
102export {};
Note: See TracBrowser for help on using the repository browser.