blessed-components - v1.20.0
    Preparing search index...

    Interface RenderDescriptionListOptions

    Options accepted by renderDescriptionList.

    interface RenderDescriptionListOptions {
        gap?: number;
        items: readonly DescriptionListItem[];
        layout?: DescriptionListLayout;
        rowGap?: number;
        termWidth?: number | "auto";
        width?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    gap?: number

    Spaces between the term column and description in the columns layout.

    2

    items: readonly DescriptionListItem[]

    Ordered term and description entries.

    Entry arrangement.

    auto uses columns when the available width can fit useful description text, and stacked rows otherwise.

    'auto'

    rowGap?: number

    Blank lines inserted between entries.

    0

    termWidth?: number | "auto"

    Width reserved for every term in terminal cells.

    auto uses the widest term. A numeric width truncates longer terms.

    'auto'

    width?: number

    Available content width in terminal cells. Enables responsive wrapping.