@univerjs/thread-comment-ui v0.4.2 • Docs
Class: ThreadCommentPanelService
Extends
Constructors
new ThreadCommentPanelService()
new ThreadCommentPanelService(_sidebarService, _univerInstanceService): ThreadCommentPanelService
Parameters
Parameter | Type |
---|---|
_sidebarService | ISidebarService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:34 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
activeCommentId$ | public | Observable <ActiveCommentInfo > | undefined | - | packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:32 (opens in a new tab) |
panelVisible$ | public | Observable <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
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
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
setActiveComment()
setActiveComment(commentInfo): void
Parameters
Parameter | Type |
---|---|
commentInfo | ActiveCommentInfo |
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
Parameter | Type |
---|---|
visible | boolean |
Returns
void
Defined in
packages/thread-comment-ui/src/services/thread-comment-panel.service.ts:72 (opens in a new tab)