The todayPosition property (string) sets the position of the section that displays the "Today" button in the Navigator component.
DayPilot.Navigator.todayPosition"Top" - displays the "Today" button section at the top of the Navigator.
"Bottom" - displays the "Today" button section at the bottom of the Navigator.
"Bottom"JavaScript
const nav = new DayPilot.Navigator("dp", {
todayPosition: "Top",
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
todayPosition: "Top",
// ...
};React
<DayPilotNavigator
todayPosition="Top"
{/* ... */}
/>Vue
<DayPilotNavigator
todayPosition="Top"
<!-- ... -->
/>