v3.0.3
  • Спонсор
  • Aria-подписи

    labels предоставляет возможность локализовать все aria-label в календаре для доступности.

    Ниже приведен список всех aria-label по умолчанию.

    ts
    new Calendar('#calendar', {
      labels: {
        application: 'Calendar',
        navigation: 'Calendar Navigation',
        arrowNext: {
          month: 'Next month',
          year: 'Next list of years',
        },
        arrowPrev: {
          month: 'Previous month',
          year: 'Previous list of years',
        },
        month: 'Select month, current selected month:',
        months: 'List of months',
        year: 'Select year, current selected year:',
        years: 'List of years',
        week: 'Days of the week',
        weekNumber: 'Numbers of weeks in a year',
        dates: 'Dates in the current month',
        selectingTime: 'Selecting a time ',
        inputHour: 'Hours',
        inputMinute: 'Minutes',
        rangeHour: 'Slider for selecting hours',
        rangeMinute: 'Slider for selecting minutes',
        btnKeeping: 'Switch AM/PM, current position:',
      },
    });