Skip to main content

Class: TranslocoMatPaginatorIntl

transloco-mat-paginator-adapter.TranslocoMatPaginatorIntl

TranslocoMatPaginatorIntl is a helper class, that's only purpose is to provide needed translations for mat-paginator labels, using {@link I18nService}.

Hierarchy​

  • MatPaginatorIntl

    ↳ TranslocoMatPaginatorIntl

Constructors​

constructor​

• new TranslocoMatPaginatorIntl(i18nService)

Parameters​

NameType
i18nServiceI18nService

Overrides​

MatPaginatorIntl.constructor

Defined in​

libs/legi-shared/transloco-mat-paginator-adapter/transloco-mat-paginator-intl.service.ts:11

Properties​

changes​

• Readonly changes: Subject<void>

Stream to emit from when labels are changed. Use this to notify components when the labels have changed after initialization.

Inherited from​

MatPaginatorIntl.changes

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:20


firstPageLabel​

• firstPageLabel: string

A label for the button that moves to the first page.

Inherited from​

MatPaginatorIntl.firstPageLabel

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:28


getRangeLabel​

• getRangeLabel: (page: number, pageSize: number, length: number) => string

Type declaration​

â–¸ (page, pageSize, length): string

A label for the range of items within the current page and the length of the whole list.

Parameters​
NameType
pagenumber
pageSizenumber
lengthnumber
Returns​

string

Overrides​

MatPaginatorIntl.getRangeLabel

Defined in​

libs/legi-shared/transloco-mat-paginator-adapter/transloco-mat-paginator-intl.service.ts:19


itemsPerPageLabel​

• itemsPerPageLabel: string

A label for the page size selector.

Inherited from​

MatPaginatorIntl.itemsPerPageLabel

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:22


lastPageLabel​

• lastPageLabel: string

A label for the button that moves to the last page.

Inherited from​

MatPaginatorIntl.lastPageLabel

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:30


nextPageLabel​

• nextPageLabel: string

A label for the button that increments the current page.

Inherited from​

MatPaginatorIntl.nextPageLabel

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:24


previousPageLabel​

• previousPageLabel: string

A label for the button that decrements the current page.

Inherited from​

MatPaginatorIntl.previousPageLabel

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:26


ɵfac​

▪ Static ɵfac: unknown

Inherited from​

MatPaginatorIntl.ɵfac

Defined in​

node_modules/@angular/material/paginator/paginator-intl.d.ts:33

Methods​

adaptLabels​

â–¸ Private adaptLabels(): void

Returns​

void

Defined in​

libs/legi-shared/transloco-mat-paginator-adapter/transloco-mat-paginator-intl.service.ts:33