/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/core/datetime/date-formats.ts
27 строк
617 B
Kristiyan Kostadinov
refactor(material/core): add methods to date adapter
30 сен 2024, 20:43
30 сен 2024, 20:43
78ed8b8
Код
Авторство
О чём код?
/** * @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 {InjectionToken} from '@angular/core'; export type MatDateFormats = { parse: { dateInput: any; timeInput?: any; }; display: { dateInput: any; monthLabel?: any; monthYearLabel: any; dateA11yLabel: any; monthYearA11yLabel: any; timeInput?: any; timeOptionLabel?: any; }; }; export const MAT_DATE_FORMATS = new InjectionToken<MatDateFormats>('mat-date-formats');