source: trip-planner-front/node_modules/@angular/material/tabs/tab.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: 3.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 { BooleanInput } from '@angular/cdk/coercion';
9import { TemplatePortal } from '@angular/cdk/portal';
10import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef, InjectionToken } from '@angular/core';
11import { CanDisable } from '@angular/material/core';
12import { Subject } from 'rxjs';
13import { MatTabLabel } from './tab-label';
14/** @docs-private */
15declare const _MatTabBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & {
16 new (): {};
17};
18/**
19 * Used to provide a tab group to a tab without causing a circular dependency.
20 * @docs-private
21 */
22export declare const MAT_TAB_GROUP: InjectionToken<any>;
23export declare class MatTab extends _MatTabBase implements OnInit, CanDisable, OnChanges, OnDestroy {
24 private _viewContainerRef;
25 _closestTabGroup: any;
26 /** Content for the tab label given by `<ng-template mat-tab-label>`. */
27 get templateLabel(): MatTabLabel;
28 set templateLabel(value: MatTabLabel);
29 protected _templateLabel: MatTabLabel;
30 /**
31 * Template provided in the tab content that will be used if present, used to enable lazy-loading
32 */
33 _explicitContent: TemplateRef<any>;
34 /** Template inside the MatTab view that contains an `<ng-content>`. */
35 _implicitContent: TemplateRef<any>;
36 /** Plain text label for the tab, used when there is no template label. */
37 textLabel: string;
38 /** Aria label for the tab. */
39 ariaLabel: string;
40 /**
41 * Reference to the element that the tab is labelled by.
42 * Will be cleared if `aria-label` is set at the same time.
43 */
44 ariaLabelledby: string;
45 /** Portal that will be the hosted content of the tab */
46 private _contentPortal;
47 /** @docs-private */
48 get content(): TemplatePortal | null;
49 /** Emits whenever the internal state of the tab changes. */
50 readonly _stateChanges: Subject<void>;
51 /**
52 * The relatively indexed position where 0 represents the center, negative is left, and positive
53 * represents the right.
54 */
55 position: number | null;
56 /**
57 * The initial relatively index origin of the tab if it was created and selected after there
58 * was already a selected tab. Provides context of what position the tab should originate from.
59 */
60 origin: number | null;
61 /**
62 * Whether the tab is currently active.
63 */
64 isActive: boolean;
65 constructor(_viewContainerRef: ViewContainerRef, _closestTabGroup: any);
66 ngOnChanges(changes: SimpleChanges): void;
67 ngOnDestroy(): void;
68 ngOnInit(): void;
69 /**
70 * This has been extracted to a util because of TS 4 and VE.
71 * View Engine doesn't support property rename inheritance.
72 * TS 4.0 doesn't allow properties to override accessors or vice-versa.
73 * @docs-private
74 */
75 protected _setTemplateLabelInput(value: MatTabLabel | undefined): void;
76 static ngAcceptInputType_disabled: BooleanInput;
77}
78export {};
Note: See TracBrowser for help on using the repository browser.