onViewChange

fires after the current view has been changed to some other one

void onViewChange(string new_mode,object new_date);
new_modestringa new view
new_dateobjecta new date

Example

scheduler.attachEvent("onViewChange", function (new_mode , new_date){
    //any custom logic here
});

Details

The event is called each time the current view is changed.

Back to top