source: trip-planner-front/node_modules/@angular/material/tabs/tab-config.d.ts@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 1.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 { InjectionToken } from '@angular/core';
9/** Object that can be used to configure the default options for the tabs module. */
10export interface MatTabsConfig {
11 /** Duration for the tab animation. Must be a valid CSS value (e.g. 600ms). */
12 animationDuration?: string;
13 /**
14 * Whether pagination should be disabled. This can be used to avoid unnecessary
15 * layout recalculations if it's known that pagination won't be required.
16 */
17 disablePagination?: boolean;
18 /**
19 * Whether the ink bar should fit its width to the size of the tab label content.
20 * This only applies to the MDC-based tabs.
21 */
22 fitInkBarToContent?: boolean;
23 /** Whether the tab group should grow to the size of the active tab. */
24 dynamicHeight?: boolean;
25 /** `tabindex` to be set on the inner element that wraps the tab content. */
26 contentTabIndex?: number;
27}
28/** Injection token that can be used to provide the default options the tabs module. */
29export declare const MAT_TABS_CONFIG: InjectionToken<MatTabsConfig>;
Note: See TracBrowser for help on using the repository browser.