The onTimeRangeClick event is fired by the JavaScript Calendar when a user clicks an existing time range, before the default action.
See also onTimeRangeClicked.
DayPilot.Calendar.onTimeRangeClick(args)
args.start
(DayPilot.Date) - selection start
args.end
(DayPilot.Date) - selection end
args.resource
(number | string) - selection resource (in the resource calendar view)
args.preventDefault()
- cancels the default action