The rtl property (boolean) sets the text direction of the JavaScript Calendar component to right-to-left.
DayPilot.Calendar.rtlfalseSet this property to true when the calendar UI should follow an RTL layout.
JavaScript
const calendar = new DayPilot.Calendar("calendar", {
rtl: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
rtl: true,
// ...
};React
<DayPilotCalendar
rtl={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:rtl="true"
<!-- ... -->
/>RTL [doc.daypilot.org]