/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/sort/sort-header-intl.ts
27 строк
764 B
Kristiyan Kostadinov
refactor(material/sort): switch to service decorator
25 апр 2026, 23:10
25 апр 2026, 23:10
a4f5611
Код
Авторство
О чём код?
/** * @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.dev/license */ import {Service} from '@angular/core'; import {Subject} from 'rxjs'; /** * To modify the labels and text displayed, create a new instance of MatSortHeaderIntl and * include it in a custom provider. * * @deprecated No longer used, will be removed. * @breaking-change 23.0.0 * @docs-private */ @Service() export class MatSortHeaderIntl { /** * Stream that emits whenever the labels here are changed. Use this to notify * components if the labels have changed after initialization. */ readonly changes: Subject<void> = new Subject<void>(); }