datepicker-intl.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  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. */
  8. import { Subject } from 'rxjs';
  9. /** Datepicker data that requires internationalization. */
  10. export declare class MatDatepickerIntl {
  11. /**
  12. * Stream that emits whenever the labels here are changed. Use this to notify
  13. * components if the labels have changed after initialization.
  14. */
  15. readonly changes: Subject<void>;
  16. /** A label for the calendar popup (used by screen readers). */
  17. calendarLabel: string;
  18. /** A label for the button used to open the calendar popup (used by screen readers). */
  19. openCalendarLabel: string;
  20. /** A label for the previous month button (used by screen readers). */
  21. prevMonthLabel: string;
  22. /** A label for the next month button (used by screen readers). */
  23. nextMonthLabel: string;
  24. /** A label for the previous year button (used by screen readers). */
  25. prevYearLabel: string;
  26. /** A label for the next year button (used by screen readers). */
  27. nextYearLabel: string;
  28. /** A label for the previous multi-year button (used by screen readers). */
  29. prevMultiYearLabel: string;
  30. /** A label for the next multi-year button (used by screen readers). */
  31. nextMultiYearLabel: string;
  32. /** A label for the 'switch to month view' button (used by screen readers). */
  33. switchToMonthViewLabel: string;
  34. /** A label for the 'switch to year view' button (used by screen readers). */
  35. switchToMultiYearViewLabel: string;
  36. }