Edit this page

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>
<script>
$("#scheduler").kendoScheduler({
  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"
    }
  ]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy