DayPilot.Navigator.todayHeight

The todayHeight property (number) sets the height of the section that displays the "Today" button in the Navigator, in pixels.

Declaration

DayPilot.Navigator.todayHeight

Default Value

40

Examples

JavaScript

const nav = new DayPilot.Navigator("dp", {
  showToday: true,
  todayHeight: 48,
  // ...
});
nav.init();

Angular

<daypilot-navigator [config]="config"></daypilot-navigator>
config: DayPilot.NavigatorConfig = {
  showToday: true,
  todayHeight: 48,
  // ...
};

React

<DayPilotNavigator
  showToday={true}
  todayHeight={48}
  {/* ... */}
/>

Vue

<DayPilotNavigator
  :showToday="true"
  :todayHeight="48"
  <!-- ... -->
/>

See Also

DayPilot.Navigator.showToday

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript