DayPilot.Navigator.rtl

The rtl property (boolean) sets the text direction of the Navigator date picker component to right-to-left.

Declaration

DayPilot.Navigator.rtl

Default Value

false

Notes

Set this property to true when the Navigator UI should use a right-to-left layout.

Examples

JavaScript

const nav = new DayPilot.Navigator("dp", {
  rtl: true,
  // ...
});
nav.init();

Angular

<daypilot-navigator [config]="config"></daypilot-navigator>
config: DayPilot.NavigatorConfig = {
  rtl: true,
  // ...
};

React

<DayPilotNavigator
  rtl={true}
  {/* ... */}
/>

Vue

<DayPilotNavigator
  :rtl="true"
  <!-- ... -->
/>

See Also

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript