Type Alias: CommentAnchor
@roomful/vue / CommentAnchor
Type Alias: CommentAnchor
Section titled “Type Alias: CommentAnchor”CommentAnchor = {
elementId:string; } | {x:number;y:number; } | {elementId:string;from:number;to:number; } | {recordId:string; } | {fieldId:string;recordId:string; } | {fieldId:string; } | {nodeId:string; }
Defined in: core/dist/types.d.ts:1522
Anchors a comment thread to the document it annotates. One of:
{ elementId }— pins the thread to an element.{ x, y }— pins the thread to a point in canvas/coordinate space.{ from, to, elementId }— pins the thread to a text-selection range within an element.