The rtl property (boolean) sets the text direction of the Navigator date picker component to right-to-left.
DayPilot.Navigator.rtlfalseSet this property to true when the Navigator UI should use a right-to-left layout.
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"
<!-- ... -->
/>