Vizel API / core/src / VizelCommentMarkOptions
Interface: VizelCommentMarkOptions
Defined in: packages/core/src/extensions/comment.ts:10
Options for the comment mark extension
Properties
HTMLAttributes?
ts
optional HTMLAttributes?: Record<string, string>;Defined in: packages/core/src/extensions/comment.ts:12
Additional HTML attributes for comment marks
onCommentClick?
ts
optional onCommentClick?: (commentId) => void;Defined in: packages/core/src/extensions/comment.ts:14
Callback when a comment mark is clicked
Parameters
| Parameter | Type |
|---|---|
commentId | string |
Returns
void