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

    Interface CalculateClusterLayoutOptions

    Options accepted by calculateClusterLayout.

    interface CalculateClusterLayoutOptions {
        align?: ClusterAlign;
        columnGap?: number;
        gap?: number;
        height: number;
        items: readonly ClusterItemSize[];
        rowGap?: number;
        width: number;
    }
    Index

    Properties

    align?: ClusterAlign

    Row alignment after wrapping.

    'start'

    columnGap?: number

    Empty cells between adjacent items. Overrides gap horizontally.

    gap?: number

    Shared empty cells/rows between adjacent items and rows.

    0

    height: number

    Available container height in terminal rows.

    items: readonly ClusterItemSize[]

    Intrinsic sizes in visual order.

    rowGap?: number

    Empty rows between wrapped rows. Overrides gap vertically.

    width: number

    Available container width in terminal cells.