@univerjs/sheets-zen-editor v0.5.4
Interface: IFWorkbookSheetsZenEditorMixin
Defined in: sheets-zen-editor/src/facade/f-workbook.ts:21
Methods
endZenEditingAsync()
endZenEditingAsync(save?): Promise<boolean>
Defined in: sheets-zen-editor/src/facade/f-workbook.ts:42
End the zen editing process
Parameters
Parameter | Type | Description |
---|---|---|
save ? | boolean | Whether to save the changes, default is true |
Returns
Promise
<boolean
>
A promise that resolves to a boolean indicating whether the zen editing process was ended successfully.
Async
Example
univerAPI.getActiveWorkbook().endZenEditingAsync(false);
startZenEditingAsync()
startZenEditingAsync(): Promise<boolean>
Defined in: sheets-zen-editor/src/facade/f-workbook.ts:30
Start the zen editing process
Returns
Promise
<boolean
>
A promise that resolves to a boolean indicating whether the zen editing process was started successfully.
Example
univerAPI.getActiveWorkbook().startZenEditingAsync();