API Reference
@univerjs
@univerjs/sheets-ui
functions
Whensheeteditorfocused

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/controllers/shortcuts/utils.ts:37 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.