API Reference
@univerjs
@univerjs/slides-ui
interfaces
Islideeditorbridgeservice

@univerjs/slides-ui v0.4.2Docs


Interface: ISlideEditorBridgeService

Properties

PropertyTypeDescriptionDefined in
currentEditRectState$Observable<Nullable<IEditorBridgeServiceParam>>-packages/slides-ui/src/services/slide-editor-bridge.service.ts:78 (opens in a new tab)
endEditing$Subject<RichText>Deprecated This is a temp solution only for demo purposes. We should have mutations to directly write content to slides.packages/slides-ui/src/services/slide-editor-bridge.service.ts:85 (opens in a new tab)
visible$Observable<IEditorBridgeServiceVisibleParam>-packages/slides-ui/src/services/slide-editor-bridge.service.ts:79 (opens in a new tab)

Methods

changeEditorDirty()

changeEditorDirty(dirtyStatus): void

Parameters

ParameterType
dirtyStatusboolean

Returns

void

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:101 (opens in a new tab)


changeVisible()

changeVisible(param): void

Parameters

ParameterType
paramIEditorBridgeServiceVisibleParam

Returns

void

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:100 (opens in a new tab)


dispose()

dispose(): void

Returns

void

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:92 (opens in a new tab)


getCurrentEditorId()

getCurrentEditorId(): Nullable<string>

Returns

Nullable<string>

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:107 (opens in a new tab)


getEditRectState()

getEditRectState(): Readonly<Nullable<IEditorBridgeServiceParam>>

Returns

Readonly<Nullable<IEditorBridgeServiceParam>>

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:97 (opens in a new tab)


getEditorDirty()

getEditorDirty(): boolean

Returns

boolean

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:102 (opens in a new tab)


getEditorRect()

getEditorRect(): ISetEditorInfo

Returns

ISetEditorInfo

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:96 (opens in a new tab)


isVisible()

isVisible(): boolean

Returns

boolean

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:103 (opens in a new tab)


setEditorRect()

setEditorRect(param): void

Parameters

ParameterType
paramISetEditorInfo

Returns

void

Defined in

packages/slides-ui/src/services/slide-editor-bridge.service.ts:95 (opens in a new tab)


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