navigate
Fires when multiViewCalendar navigates.
Example - subscribe to the "navigate" event during initialization
<div id="multiViewCalendar"></div>
<script>
$("#multiViewCalendar").kendoMultiViewCalendar({
navigate: function() {
var view = this.view();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(view.name); //name of the current view
var current = this.current();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(current); //currently focused date
}
});
</script>
Example - subscribe to the "navigate" event after initialization
<div id="multiViewCalendar"></div>
<script>
$("#multiViewCalendar").kendoMultiViewCalendar();
var multiViewCalendar = $("#multiViewCalendar").data("kendoMultiViewCalendar");
multiViewCalendar.bind("navigate", function() {
var view = this.view();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(view.name); //name of the current view
var current = this.current();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(current); //currently focused date
});
</script>