zoom

defines the current zoom level

number zoom;

Example

webix.ui({
  view:"diagram-editor",
  data: base_data,
  links: base_links,
  // define default zoom as 2
  zoom: 2, });


Default value:

1 (100%)

Related samples

Details

As it is a reactive property, you can access and alter it dynamically via the editor state:

// define zoom to be 50% 
$$("editor").getState().zoom = 0.5;
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.