@univerjs/sheets-thread-comment v0.4.2 • Docs
Class: SheetsThreadCommentModel
Extends
Constructors
new SheetsThreadCommentModel()
new SheetsThreadCommentModel(_threadCommentModel, _univerInstanceService): SheetsThreadCommentModel
Parameters
Parameter | Type |
---|---|
_threadCommentModel | ThreadCommentModel |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
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) |
commentUpdate$ | public | Observable <SheetCommentUpdate > | undefined | - | packages/sheets-thread-comment-base/src/models/sheets-thread-comment.model.ts:33 (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)
getAllByLocation()
getAllByLocation(
unitId,
subUnitId,
row,
column): IThreadComment[]
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
column | number |
Returns
Defined in
getByLocation()
getByLocation(
unitId,
subUnitId,
row,
column): undefined | string
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
column | number |
Returns
undefined
| string
Defined in
getComment()
getComment(
unitId,
subUnitId,
commentId): undefined | IThreadComment
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
commentId | string |
Returns
undefined
| IThreadComment
Defined in
getCommentWithChildren()
getCommentWithChildren(
unitId,
subUnitId,
row,
column): Nullable<IThreadInfo>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
column | number |
Returns
Nullable
<IThreadInfo
>
Defined in
getSubUnitAll()
getSubUnitAll(unitId, subUnitId): IThreadComment[]
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
Defined in
showCommentMarker()
showCommentMarker(
unitId,
subUnitId,
row,
column): boolean
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
column | number |
Returns
boolean