@univerjsthread-comment-uiclassesThreadcommentpanelservice

@univerjs/thread-comment-ui v0.5.0-beta.1Docs


Class: ThreadCommentPanelService

Extends

Constructors

new ThreadCommentPanelService()

new ThreadCommentPanelService(_sidebarService, _univerInstanceService): ThreadCommentPanelService

Parameters

ParameterType
_sidebarServiceISidebarService
_univerInstanceServiceIUniverInstanceService

Returns

ThreadCommentPanelService

Overrides

Disposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedcore/src/shared/lifecycle.ts:93
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
Returns

ActiveCommentInfo

Defined in

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


panelVisible

Get Signature

get panelVisible(): boolean
Returns

boolean

Defined in

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

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

core/src/shared/lifecycle.ts:100


setActiveComment()

setActiveComment(commentInfo): void

Parameters

ParameterType
commentInfoActiveCommentInfo

Returns

void

Defined in

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


setPanelVisible()

setPanelVisible(visible): void

Parameters

ParameterType
visibleboolean

Returns

void

Defined in

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