messages.ariaSlotLabel String(default: "Selected from {0:t} to {1:t}")

Specifies the format string used to populate the aria-label attribute value of the selected slot element.

The arguments which can be used in the format string are:

  • {0} - represents the start date of the slot.
  • {1} - represents the end date of the slot.

Example - set the "ariaSlotLabel" scheduler message

<div id="scheduler"></div>
  selectable: true,
  date: new Date("2013/6/6"),
  messages: {
    ariaSlotLabel: "Selected from {0:g} to {0:g}"
  dataSource: [
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
In this article