The todayPosition property (string) sets the position of the section that displays the "Today" button in the Navigator component.
Declaration
DayPilot.Navigator.todayPositionPossible Values
"Top"- displays the "Today" button section at the top of the Navigator."Bottom"- displays the "Today" button section at the bottom of the Navigator.
Default Value
"Bottom"Examples
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot