API Reference
@univerjs
@univerjs/thread-comment-ui
classes
Threadcommentpanelservice

@univerjs/thread-comment-ui v0.4.2Docs


Class: ThreadCommentPanelService

Extends

Constructors

new ThreadCommentPanelService()

new ThreadCommentPanelService(_sidebarService, _univerInstanceService): ThreadCommentPanelService

Parameters

ParameterType
_sidebarServiceISidebarService
_univerInstanceServiceIUniverInstanceService

Returns

ThreadCommentPanelService

Overrides

Disposable.constructor

Defined in

packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:34 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
activeCommentId$publicObservable<ActiveCommentInfo>undefined-packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:32 (opens in a new tab)
panelVisible$publicObservable<boolean>undefined-packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:31 (opens in a new tab)

Accessors

activeCommentId

get activeCommentId(): ActiveCommentInfo

Returns

ActiveCommentInfo

Defined in

packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:68 (opens in a new tab)


panelVisible

get panelVisible(): boolean

Returns

boolean

Defined in

packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:64 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (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)


setActiveComment()

setActiveComment(commentInfo): void

Parameters

ParameterType
commentInfoActiveCommentInfo

Returns

void

Defined in

packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:77 (opens in a new tab)


setPanelVisible()

setPanelVisible(visible): void

Parameters

ParameterType
visibleboolean

Returns

void

Defined in

packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:72 (opens in a new tab)


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