onBeforeZoom

fires before zoom level of the calendar is changed

void onBeforeZoom(numberlevel){ ... };

Parameters

levelnumbernew zoom level

Example

$$("calendar1").atachEvent("onBeforeZoom", function(level){
    //code
});

Details

Webix calendar features 3 zoom levels:

  • 0 - the initial zoom level, month view is displayed;
  • 1 - year view with month names is displayed;
  • 2 - ten-year period with year numbers is displayed
See also
  • Articles
  • Back to top