API Reference
@univerjs
@univerjs/sheets-ui
classes
Editingrendercontroller

@univerjs/sheets-ui v0.4.2Docs


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): EditingRenderController

Parameters

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

Returns

EditingRenderController

Overrides

Disposable.constructor

Defined in

packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:96 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_cursorTimeoutpublicTimeoutundefined-packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:94 (opens in a new tab)
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
_localServicereadonlyLocaleServiceundefined-packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:109 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Overrides

Disposable.dispose

Defined in

packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:143 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


submitCellData()

submitCellData(documentDataModel): Promise<void>

Parameters

ParameterType
documentDataModelDocumentDataModel

Returns

Promise<void>

Defined in

packages/sheets-ui/src/controllers/editor/editing.render-controller.ts:531 (opens in a new tab)


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