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

@univerjs/sheets-ui v0.4.2Docs


Function: whenFormulaEditorActivated()

function whenFormulaEditorActivated(contextService): boolean

Requires the currently focused editor is a formula editor, and it is activated.

Parameters

ParameterType
contextServiceIContextService

Returns

boolean

If the formula editor is activated.

Defined in

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


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