DayPilot.Navigator.skipMonths

The skipMonths property (number) configures how many months to skip when using the "<" and ">" icons in the Navigator header.

Declaration

DayPilot.Navigator.skipMonths

Default Value

1

Notes

In most cases, you will want to use the same value as showMonths.

Examples

JavaScript

const dp = new DayPilot.Navigator("dp", {
  showMonths: 3,
  skipMonths: 3,
  // ...
});
dp.init();

Angular

<daypilot-navigator [config]="config"></daypilot-navigator>
config: DayPilot.NavigatorConfig = {
  showMonths: 3,
  skipMonths: 3,
  // ...
};

React

<DayPilotNavigator
  showMonths={3}
  skipMonths={3}
  {/* ... */}
/>

Vue

<DayPilotNavigator
  :showMonths="3"
  :skipMonths="3"
  <!-- ... -->
/>

See Also

DayPilot.Navigator.showMonths

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript