API Reference
@univerjs
@univerjs/sheets
functions
Getsheetcommandtargetworkbook

@univerjs/sheets v0.4.2Docs


Function: getSheetCommandTargetWorkbook()

function getSheetCommandTargetWorkbook(univerInstanceService, params): Nullable<{
  unitId: string;
  workbook: Workbook;
}>

Parameters

ParameterType
univerInstanceServiceIUniverInstanceService
paramsobject
params.unitId?string

Returns

Nullable<{ unitId: string; workbook: Workbook; }>

NameTypeDefined in
unitIdstringpackages/sheets/src/commands/commands/utils/target-util.ts:21 (opens in a new tab)
workbookWorkbookpackages/sheets/src/commands/commands/utils/target-util.ts:20 (opens in a new tab)

Defined in

packages/sheets/src/commands/commands/utils/target-util.ts:19 (opens in a new tab)


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