DayPilot.Area Events

Event handlers:

  • onClick(args)
  • onClicked(args)

Fired when a user clicks the active area.

onClick is fired before the default action (specified using "action" property), onClicked is fired after the default action.

onClick/onClicked events are available since build 2610.

Arguments

  • args.area - the active area object
  • args.source - source object (e.g. DayPilot.Event class for event active areas)
  • args.preventDefault() - cancels the default action, if called in onClick event handler
  • args.originalEvent - original event object