#cy.minZoom()
// Get the minimum zoom, or set it
cy.minZoom(): numberGet the minimum zoom, or set it. Setting re-clamps the current zoom.
Returns
numberthe current minZoom value
#cy.minZoom(zoom)
// Get the minimum zoom, or set it
cy.minZoom(zoom: number): thisGet the minimum zoom, or set it. Setting re-clamps the current zoom.
| Name | Description |
|---|---|
zoom: number | the new minimum |
Returns
thisthis core, for chaining
Example
const result = cy.minZoom(1e-50);console.log(result === cy); // true