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

    Interface CalculateStackLayoutOptions

    Options accepted by calculateStackLayout.

    interface CalculateStackLayoutOptions {
        align?: StackAlign;
        direction?: StackDirection;
        gap?: number;
        height: number;
        items: readonly StackItemSize[];
        width: number;
    }
    Index

    Properties

    align?: StackAlign

    Cross-axis item alignment.

    'stretch'

    direction?: StackDirection

    Main-axis flow direction.

    'vertical'

    gap?: number

    Empty cells or rows inserted between adjacent items.

    0

    height: number

    Available container height in terminal rows.

    items: readonly StackItemSize[]

    Intrinsic sizes in visual order.

    width: number

    Available container width in terminal cells.