The rtl property (boolean) sets the text direction of the JavaScript Calendar component to right-to-left.
Declaration
DayPilot.Calendar.rtlDefault Value
falseNotes
Set this property to true when the calendar UI should follow an RTL layout.
Examples
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"
<!-- ... -->
/>See Also
RTL [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot