The showToday property (boolean) determines whether the section with a "Today" button will be visible in the Navigator.
Declaration
DayPilot.Navigator.showTodayDefault Value
falseExamples
JavaScript
const dp = new DayPilot.Navigator("dp", {
showToday: true,
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
showToday: true,
// ...
};React
<DayPilotNavigator
showToday={true}
{/* ... */}
/>Vue
<DayPilotNavigator
:showToday="true"
<!-- ... -->
/>See Also
DayPilot.Navigator.todayPosition
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot