Configure defaults: zoom-to-crop and alignment grid
By default CROPRO zooms in to the active crop rectangle and alignment grid is always visible. Obviously, you can change this.
To change the zoom-to-crop behavior you set
false so the whole image is visible all the time.
cropArea.zoomToCropEnabled = false;
Configuring the grid
To hide the alignment grid you set
Additionally, you can adjust the number of grid lines via the
cropArea.isGridVisible = false; cropArea.gridLines = 4;
Here we have the grid hidden by default but when our user turns it on through the toolbar, it will have 4 grid lines instead of 2 (default).