Triggers
DateBox also contains quite a number of triggers and listeners, which are all passed as a ‘method’ of the ‘datebox’ listener/trigger. Usage of each is detailed in the API documentation, but they are:
- “open” : Send: Open DateBox
- “close” : Send: Close DateBox
- “doset” : Send: Refresh input element
- “doclear” : Send: Clear input element
- “dorefresh” : Send: Refresh control
- “dooffset” : Send: Change the date
- “set” : Send & Receive: Set the date, or date has been set
- “enable” : Receive: DateBox has been enabled
- “disable” : Receive: DateBox has been disabled
- “refresh” : Receive: DateBox has been refreshed
- “clear” : Receive: DateBox input has been cleared
- “offset” : Receive: Date has been changed
- “displayChange” : Receive: Calendar date display has been changed, and selected date is not in currently displayed month.