@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
Parameter | Type |
---|---|
_sidebarService | ISidebarService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
activeCommentId$ | public | Observable <ActiveCommentInfo > | undefined | - | thread-comment-ui/src/services/thread-comment-panel.service.ts:32 |
panelVisible$ | public | Observable <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
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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
setActiveComment()
setActiveComment(commentInfo): void
Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:77
Parameters
Parameter | Type |
---|---|
commentInfo | ActiveCommentInfo |
Returns
void
setPanelVisible()
setPanelVisible(visible): void
Defined in: thread-comment-ui/src/services/thread-comment-panel.service.ts:72
Parameters
Parameter | Type |
---|---|
visible | boolean |
Returns
void