The onTimeRangeSelect event handler is fired by the monthly calendar component when a user selects a time range using drag and drop.
You can use it to create a new event.
This event is fired before the default action. In case on time range selection, there is no default action so it is an equivalent of onTimeRangeSelected event.
onTimeRangeSelect(args)
args.start
(DayPilot.Date) - selection start
args.end
(DayPilot.Date) - selection end
args.preventDefault()
- cancel the default action