The rtl property (boolean) sets the text direction of the Navigator date picker component to right-to-left.
Declaration
DayPilot.Navigator.rtlDefault Value
falseNotes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot