@univerjssheets-uiindexfunctionsWhensheeteditorfocused

@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: whenSheetEditorFocused()

function whenSheetEditorFocused(contextService): boolean

Requires the currently focused unit to be Workbook and the sheet editor is focused but not activated.

Parameters

ParameterType
contextServiceIContextService

Returns

boolean

If the sheet editor is focused but not activated.

Defined in

submodules/univer/packages/sheets-ui/src/controllers/shortcuts/utils.ts:37