@univerjssheets-uiindexclassesEditingrendercontroller

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


Class: EditingRenderController

Every render module should implement this interface.

Extends

Implements

Constructors

new EditingRenderController()

new EditingRenderController(
   _context, 
   selectionManagerService, 
   _undoRedoService, 
   _contextService, 
   _instanceSrv, 
   _renderManagerService, 
   _editorBridgeService, 
   _cellEditorManagerService, 
   _lexerTreeBuilder, 
   _functionService, 
   _textSelectionManagerService, 
   _commandService, 
   _localService, 
   _editorService, 
   _sheetCellEditorResizeService, 
   _univerInstanceService, 
   _sheetInterceptorService): EditingRenderController

Parameters

ParameterType
_contextIRenderContext<Workbook>
selectionManagerServiceSheetsSelectionsService
_undoRedoServiceIUndoRedoService
_contextServiceIContextService
_instanceSrvIUniverInstanceService
_renderManagerServiceIRenderManagerService
_editorBridgeServiceIEditorBridgeService
_cellEditorManagerServiceICellEditorManagerService
_lexerTreeBuilderLexerTreeBuilder
_functionServiceIFunctionService
_textSelectionManagerServiceDocSelectionManagerService
_commandServiceICommandService
_localServiceLocaleService
_editorServiceIEditorService
_sheetCellEditorResizeServiceSheetCellEditorResizeService
_univerInstanceServiceIUniverInstanceService
_sheetInterceptorServiceSheetInterceptorService

Returns

EditingRenderController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:96

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_cursorTimeoutpublicTimeoutundefined-submodules/univer/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:94
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
_localServicereadonlyLocaleServiceundefined-submodules/univer/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:109

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Overrides

Disposable.dispose

Defined in

submodules/univer/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:144


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


submitCellData()

submitCellData(documentDataModel): Promise<void>

Parameters

ParameterType
documentDataModelDocumentDataModel

Returns

Promise<void>

Defined in

submodules/univer/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:532