SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface CommentCardProps

    interface CommentCardProps {
        comment: IComment | null;
        coords: CellCoords;
        elevated?: boolean;
        focusRequest?: number;
        highlighted?: boolean;
        onClose?: () => void;
        onPosted?: (comment: IComment) => void;
        onSelect?: () => void;
        ref?: Ref<HTMLDivElement>;
        sheet: ISheet;
    }

    Hierarchy

    • Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect">
      • CommentCardProps
    Index
    comment: IComment | null

    The thread, or null for a draft: nothing is written until it is posted.

    coords: CellCoords

    The cell the card belongs to.

    elevated?: boolean

    Draws the card raised, for one that floats over the grid.

    focusRequest?: number

    A new value each time the card's text should take the caret: the draft's field, or the reply box of a thread. 0 or omitted for never.

    highlighted?: boolean

    Marks the card as the one for the selected cell.

    onClose?: () => void

    The draft was cancelled.

    onPosted?: (comment: IComment) => void

    The draft was posted, as this comment.

    onSelect?: () => void

    A click on the card's surface, anywhere that is not a control. Omit when there is nothing to select.

    ref?: Ref<HTMLDivElement>
    sheet: ISheet

    The sheet the card's cell is on.