DayPilot.Switcher.addNavigator

The addNavigator() method adds a Navigator (date picker) to the switching logic.

This method is an alternative to specifying options.navigator in the constructor.

Declaration

DayPilot.Switcher.addNavigator(nav);

Parameters

  • navigator (DayPilot.Navigator) - the date picker components