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

    Interface CalculateCollapsibleLayoutOptions

    Options accepted by calculateCollapsibleLayout.

    interface CalculateCollapsibleLayoutOptions {
        bodyHeight: number;
        expanded?: boolean;
        gap?: number;
        headerHeight?: number;
    }
    Index

    Properties

    bodyHeight: number

    Intrinsic body height in terminal rows.

    expanded?: boolean

    Whether the body region is visible.

    gap?: number

    Empty rows between header and body while expanded.

    0

    headerHeight?: number

    Header height in terminal rows.

    1