Trevixal API
    Preparing search index...

    Interface CommentsPanelOptions

    interface CommentsPanelOptions {
        author: () => string;
        container: HTMLElement;
        now?: () => number;
        onMention?: (event: MentionEvent) => void;
        users?: () => readonly MentionUser[];
    }
    Index
    author: () => string

    Whose name goes on a new comment or reply.

    container: HTMLElement

    Where the panel goes: a sidebar, usually.

    now?: () => number

    The clock; Date.now by default.

    onMention?: (event: MentionEvent) => void

    Called once for each person a new comment or reply mentions: send them a note.

    users?: () => readonly MentionUser[]

    The people @ can mention; none by default.