Skip to content

Vizel API / core/src / VizelCommentState

Interface: VizelCommentState ​

Defined in: packages/core/src/comment.ts:79

Comment state

Properties ​

activeCommentId ​

ts
activeCommentId: string | null;

Defined in: packages/core/src/comment.ts:83

Currently active comment ID


comments ​

ts
comments: VizelComment[];

Defined in: packages/core/src/comment.ts:81

All stored comments (newest first)


error ​

ts
error: Error | null;

Defined in: packages/core/src/comment.ts:87

Last error that occurred


isLoading ​

ts
isLoading: boolean;

Defined in: packages/core/src/comment.ts:85

Whether comments are loading

Released under the MIT License.