setZoom function

void setZoom(
  1. String zoom
)

Sets the viewport zoom.

Implementation

void setZoom(String zoom) {
  document.body!.style.zoom = zoom;
}