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


Interface: IEditorBridgeService

Properties

PropertyTypeDefined in
currentEditCell$Observable<Nullable<IEditorBridgeServiceParam>>submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:85
currentEditCellLayout$Observable<Nullable<ICellEditorLayout>>submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:84
currentEditCellState$Observable<Nullable<ICellEditorState>>submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:83
visible$Observable<IEditorBridgeServiceVisibleParam>submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:87

Methods

changeEditorDirty()

changeEditorDirty(dirtyStatus): void

Parameters

ParameterType
dirtyStatusboolean

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:99


changeVisible()

changeVisible(param): void

Parameters

ParameterType
paramIEditorBridgeServiceVisibleParam

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:98


disableForceKeepVisible()

disableForceKeepVisible(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:103


dispose()

dispose(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:89


enableForceKeepVisible()

enableForceKeepVisible(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:102


getCurrentEditorId()

getCurrentEditorId(): Nullable<string>

Returns

Nullable<string>

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:105


getEditCellLayout()

getEditCellLayout(): Readonly<Nullable<ICellEditorLayout>>

Returns

Readonly<Nullable<ICellEditorLayout>>

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:94


getEditCellState()

getEditCellState(): Readonly<Nullable<IEditorBridgeServiceParam>>

Returns

Readonly<Nullable<IEditorBridgeServiceParam>>

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:93


getEditLocation()

getEditLocation(): Readonly<Nullable<ICellEditorState>>

Returns

Readonly<Nullable<ICellEditorState>>

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:95


getEditorDirty()

getEditorDirty(): boolean

Returns

boolean

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:100


getLatestEditCellState()

getLatestEditCellState(): Readonly<Nullable<IEditorBridgeServiceParam>>

Returns

Readonly<Nullable<IEditorBridgeServiceParam>>

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:97


isForceKeepVisible()

isForceKeepVisible(): boolean

Returns

boolean

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:104


isVisible()

isVisible(): IEditorBridgeServiceVisibleParam

Returns

IEditorBridgeServiceVisibleParam

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:101


refreshEditCellPosition()

refreshEditCellPosition(resetSizeOnly?): void

Parameters

ParameterType
resetSizeOnly?boolean

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:91


refreshEditCellState()

refreshEditCellState(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:90


setEditCell()

setEditCell(param): void

Parameters

ParameterType
paramICurrentEditCellParam

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/editor-bridge.service.ts:92