DayPilot.Navigator.onTimeRangeSelected

The onTimeRangeSelected event is fired when the selection is changed, after the default action.

Declaration

DayPilot.Navigator.onTimeRangeSelected(args)

Parameters

  • args.day - day which was clicked (if applicable); DayPilot.Date object
  • args.start - selection start; DayPilot.Date object
  • args.end - selection end; DayPilot.Date object
  • args.days - number of days in the selection

API v1 (Legacy)

Declaration

onTimeRangeSelected(start, end, day)

Parameters

  • start (DayPilot.Date) - selection start
  • end (DayPilot.Date) - selection end
  • day (DayPilot.Date) - day that was clicked