DayPilot.Navigator.showToday

The showToday property (boolean) determines whether the section with a "Today" button will be visible in the Navigator.

Declaration

DayPilot.Navigator.showToday

Default Value

false

Examples

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

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript