The weekStarts property ("Auto" | number) determines the first day of week used by the date navigator component.
DayPilot.Navigator.weekStarts"Auto" - uses the value set by the DayPilot.Navigator.locale property.
0 - Sunday.
1 - Monday.
2 - Tuesday.
3 - Wednesday.
4 - Thursday.
5 - Friday.
6 - Saturday.
"Auto"JavaScript
const nav = new DayPilot.Navigator("dp", {
weekStarts: 1,
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
weekStarts: 1,
// ...
};React
<DayPilotNavigator
weekStarts={1}
{/* ... */}
/>Vue
<DayPilotNavigator
:weekStarts="1"
<!-- ... -->
/>