@univerjsthread-comment-uiclassesThreadcommentpanelservice

@univerjs/thread-comment-ui v0.5.4


Class: ThreadCommentPanelService

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:24

Extends

Constructors

new ThreadCommentPanelService()

new ThreadCommentPanelService(_sidebarService, _univerInstanceService): ThreadCommentPanelService

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:34

Parameters

ParameterType
_sidebarServiceISidebarService
_univerInstanceServiceIUniverInstanceService

Returns

ThreadCommentPanelService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:96
activeCommentId$publicObservable<ActiveCommentInfo>undefined-thread-comment-ui/src/services/thread-comment-panel.service.ts:32
panelVisible$publicObservable<boolean>undefined-thread-comment-ui/src/services/thread-comment-panel.service.ts:31

Accessors

activeCommentId

Get Signature

get activeCommentId(): ActiveCommentInfo

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:68

Returns

ActiveCommentInfo


panelVisible

Get Signature

get panelVisible(): boolean

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:64

Returns

boolean

Methods

dispose()

dispose(): void

Defined in: core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


setActiveComment()

setActiveComment(commentInfo): void

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:77

Parameters

ParameterType
commentInfoActiveCommentInfo

Returns

void


setPanelVisible()

setPanelVisible(visible): void

Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:72

Parameters

ParameterType
visibleboolean

Returns

void