onAfterZoom

fires after zoom level of the calendar has been changed

void onAfterZoom(number level){ ... };

Parameters

levelnumbernew zoom level

Example

$$("calendar1").attachEvent("onAfterZoom", 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
Back to top