DayPilot.Switcher.onChanged

The onChanged event is fired when the switcher detects a change of the selected date.

This event is fired after the actual date change.

Declaration

DayPilot.Switcher.onChanged(args);

Parameters

  • args.start (DayPilot.Date) - start date of the new selection
  • args.end (DayPilot.Date) - end date of the new selection
  • args.day (DayPilot.Date) - the day that was selected
  • args.target - the target view component (DayPilot.Calendar or DayPilot.Month)