Trevixal API
    Preparing search index...
    interface CommentsPanel {
        element: HTMLElement;
        addComment(text: string): boolean;
        destroy(): void;
    }
    Index
    element: HTMLElement
    • Comment on the selected text. False with nothing selected or nothing to say.

      Parameters

      • text: string

      Returns boolean

    • Returns void