displayChange
Listener - Calendar Display Date has been changed
This trigger is received when the calendar display (CalBox) is changed - but only if the “selected” date is not in the visible natural month. (If the date is still “visible”, but in the previous or next month, this event will still fire)
This trigger precedes the “offset” event, however it is triggered in the same block of code. It is only triggered if there is a saved selection.
Arguments Recieved
- shownDate : JavaScript Date() object of the new date shown
- selectedDate : JavaScript Date() object currently user-selected
- thisChange : Field Changed
- y - Year
- m - Month
- d - Date
- h - Hour
- i - Minute
- s - Second
- a - Meridiem
- p - Special Case - offset changed by the picker controls (month/year)
- thisChangeAmount: Amount of change, +/- (or, in the case of thisChange === “p”, it will be null)
Trigger / Listener
Listener