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