Type Editor / @type-editor/commands / zoom / zoomReset
Function: zoomReset()
ts
function zoomReset(_state, _dispatch, view): boolean;Defined in: zoom.ts:34
Command to reset the editor view zoom to 100%.
Parameters
| Parameter | Type | Description |
|---|---|---|
_state | PmEditorState | The current editor state (unused). |
_dispatch | DispatchFunction | The dispatch function (unused). |
view | PmEditorView | The editor view to reset zoom. |
Returns
boolean
true if the zoom was reset successfully.