@univerjssheetsindexfunctionsInsertsheetundomutationfactory

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


Function: InsertSheetUndoMutationFactory()

function InsertSheetUndoMutationFactory(_accessor, params): IRemoveSheetMutationParams

Generate undo mutation of a InsertSheetMutation

Parameters

ParameterTypeDescription
_accessorIAccessorinjector accessor
paramsIInsertSheetMutationParamsdo mutation params

Returns

IRemoveSheetMutationParams

undo mutation params

Defined in

submodules/univer/packages/sheets/src/commands/mutations/insert-sheet.mutation.ts:32