calendar_event_handler

Prototype for EO.Web Calendar client event hanlder.

Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.

Syntax
JavaScript
 calendar_event_handler(calendar, eventName)

Parameters

calendar
The Calendar object that triggered this event.
eventName
The name of the event, can be "Select" or "Scroll".
Remarks

This is a prototype, not a function. You should provide this function if you wish to handle client side events raised by a Calendar object.

Client side events ClientSideOnSelect and ClientSideOnScroll use this prototype. All internal variables have already been updated by the time this handler is called. For example, you can use getSelectedDate to retrieve the newly selected date in a ClientSideOnSelect handler.

See Also