onAfterZoom
fires after zoom level of the calendar has been changed
void onAfterZoom(number level,number prev_level);
| level | number | new zoom level |
| prev_level | number | old zoom level |
Example
$$("calendar1").attachEvent("onAfterZoom", function(level, prev_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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.