DayPilot.DatePicker.onTimeRangeSelect

The onTimeRangeSelect event is called when the selectd date is changed by the user, before the target element is updated.

Declaration

DayPilot.DatePicker.onTimeRangeSelect(args);

Arguments

  • args.date - the selected date (DayPilot.Date object)

  • args.preventDefault() - cancels the default action (i.e., updating the target element)