@univerjs/sheets v0.5.0-beta.1 • Docs
Function: getSheetCommandTargetWorkbook()
function getSheetCommandTargetWorkbook(univerInstanceService, params): Nullable<{
unitId: string;
workbook: Workbook;
}>
Parameters
Parameter | Type |
---|---|
univerInstanceService | IUniverInstanceService |
params | object |
params.unitId ? | string |
Returns
Nullable
<{
unitId
: string
;
workbook
: Workbook
;
}>
Name | Type | Defined in |
---|---|---|
unitId | string | submodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:21 |
workbook | Workbook | submodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:20 |
Defined in
submodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:19