ElectronWebFrame.setZoomLevel method
ElectronWebFrame › setZoomLevel
Unofficial
Changes the zoom level to the specified level. The original size is0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively. Signature:
setZoomLevel(level: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| level | number | The zoom level to set. |
Returns: void