Type Editor / @type-editor/commands / zoom / zoomIn
Function: zoomIn()
ts
function zoomIn(_state, _dispatch, view): boolean;Defined in: zoom.ts:12
Command to zoom in the editor view by 10%, up to a maximum of 200%.
Parameters
| Parameter | Type | Description |
|---|---|---|
_state | PmEditorState | The current editor state (unused). |
_dispatch | DispatchFunction | The dispatch function (unused). |
view | PmEditorView | The editor view to zoom. |
Returns
boolean
true if the zoom was applied successfully.