source: trip-planner-front/node_modules/@angular/material/paginator/paginator-intl.d.ts@ b738035

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

initial commit

  • Property mode set to 100644
File size: 1.6 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 { Optional } from '@angular/core';
9import { Subject } from 'rxjs';
10/**
11 * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
12 * include it in a custom provider
13 */
14export declare class MatPaginatorIntl {
15 /**
16 * Stream to emit from when labels are changed. Use this to notify components when the labels have
17 * changed after initialization.
18 */
19 readonly changes: Subject<void>;
20 /** A label for the page size selector. */
21 itemsPerPageLabel: string;
22 /** A label for the button that increments the current page. */
23 nextPageLabel: string;
24 /** A label for the button that decrements the current page. */
25 previousPageLabel: string;
26 /** A label for the button that moves to the first page. */
27 firstPageLabel: string;
28 /** A label for the button that moves to the last page. */
29 lastPageLabel: string;
30 /** A label for the range of items within the current page and the length of the whole list. */
31 getRangeLabel: (page: number, pageSize: number, length: number) => string;
32}
33/** @docs-private */
34export declare function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl: MatPaginatorIntl): MatPaginatorIntl;
35/** @docs-private */
36export declare const MAT_PAGINATOR_INTL_PROVIDER: {
37 provide: typeof MatPaginatorIntl;
38 deps: Optional[][];
39 useFactory: typeof MAT_PAGINATOR_INTL_PROVIDER_FACTORY;
40};
Note: See TracBrowser for help on using the repository browser.