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

    Interface AccordionSectionLayout

    Positioned section returned by calculateAccordionLayout.

    interface AccordionSectionLayout {
        disabled: boolean;
        expanded: boolean;
        id: string;
        top: number;
        bodyHeight: number;
        bodyTop: number;
        bodyVisible: boolean;
        headerHeight: number;
        totalHeight: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    disabled: boolean

    Whether the section is disabled.

    expanded: boolean

    Whether the section is currently expanded.

    id: string

    Stable section identifier.

    top: number

    Section top position in terminal rows.

    bodyHeight: number

    Body height in terminal rows. Zero when collapsed.

    bodyTop: number

    Body top position in terminal rows.

    bodyVisible: boolean

    Whether the body should be visible.

    headerHeight: number

    Header height in terminal rows.

    totalHeight: number

    Total visible height for the collapsed or expanded container.