fires when the current date is changed
let today = new Date(2020, 10, 12);
let tomorrow = webix.Date.add(today, 1, "day", true);
webix.ui({
view: "scheduler",
date: today,
url: "https://docs.webix.com/calendar-backend/"
on: {
onChange: function(date) {
if(date === tomorrow) {
// do smth
}
}
}
});
The event handler function takes a date object as a parameter.