You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
import { InjectionToken } from '@angular/core';
|
|
/** Object that can be used to configure the default options for the tabs module. */
|
|
export interface MatTabsConfig {
|
|
/** Duration for the tab animation. Must be a valid CSS value (e.g. 600ms). */
|
|
animationDuration?: string;
|
|
/**
|
|
* Whether pagination should be disabled. This can be used to avoid unnecessary
|
|
* layout recalculations if it's known that pagination won't be required.
|
|
*/
|
|
disablePagination?: boolean;
|
|
/**
|
|
* Whether the ink bar should fit its width to the size of the tab label content.
|
|
* This only applies to the MDC-based tabs.
|
|
*/
|
|
fitInkBarToContent?: boolean;
|
|
/** Whether the tab group should grow to the size of the active tab. */
|
|
dynamicHeight?: boolean;
|
|
/** `tabindex` to be set on the inner element that wraps the tab content. */
|
|
contentTabIndex?: number;
|
|
}
|
|
/** Injection token that can be used to provide the default options the tabs module. */
|
|
export declare const MAT_TABS_CONFIG: InjectionToken<MatTabsConfig>;
|