Skip to content

CommentComposeDetail

type CommentComposeDetail = {
anchor: HTMLElement;
selection: Selection;
threadIds: string[];
};

Defined in: comments/mark.ts:21

detail shape of the COMMENT_COMPOSE_EVENT CustomEvent.

PropertyTypeDescriptionDefined in
anchorHTMLElementThe toolbar button element, for popover positioning.comments/mark.ts:27
selectionSelectionThe selection the comment should anchor to.comments/mark.ts:23
threadIdsstring[]Thread ids already present in that selection (may be empty).comments/mark.ts:25