source: trip-planner-front/node_modules/@angular/cdk/table/tokens.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: 993 bytes
RevLine 
[6a3a178]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/**
10 * Used to provide a table to some of the sub-components without causing a circular dependency.
11 * @docs-private
12 */
13export declare const CDK_TABLE: InjectionToken<any>;
14/** Configurable options for `CdkTextColumn`. */
15export interface TextColumnOptions<T> {
16 /**
17 * Default function that provides the header text based on the column name if a header
18 * text is not provided.
19 */
20 defaultHeaderTextTransform?: (name: string) => string;
21 /** Default data accessor to use if one is not provided. */
22 defaultDataAccessor?: (data: T, name: string) => string;
23}
24/** Injection token that can be used to specify the text column options. */
25export declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
Note: See TracBrowser for help on using the repository browser.