DayPilot.Calendar.rtl

The rtl property (boolean) sets the text direction of the JavaScript Calendar component to right-to-left.

Declaration

DayPilot.Calendar.rtl

Default Value

false

Notes

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]

DayPilot.Calendar Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript