@univerjscoreinterfacesIundoredocommandinfosbyinterceptor

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


Interface: IUndoRedoCommandInfosByInterceptor

Properties

PropertyTypeDescriptionDefined in
preRedos?IMutationInfo<object>[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/undoredo/undoredo.service.ts:76
preUndos?IMutationInfo<object>[]Sometimes, mutations generated by interceptors need to ensure a certain execution order PreMutations run before user’s intent to make sure the undo/redo works correctly.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/undoredo/undoredo.service.ts:73
redosIMutationInfo<object>[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/undoredo/undoredo.service.ts:75
undosIMutationInfo<object>[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/undoredo/undoredo.service.ts:74