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

    Interface CalculateCenterLayoutOptions

    Options accepted by calculateCenterLayout.

    interface CalculateCenterLayoutOptions {
        height: number;
        horizontal?: CenterAlign;
        item: CenterChildSize;
        vertical?: CenterAlign;
        width: number;
    }
    Index

    Properties

    height: number

    Available container height in terminal rows.

    horizontal?: CenterAlign

    Horizontal alignment.

    'center'

    Intrinsic child size.

    vertical?: CenterAlign

    Vertical alignment.

    'center'

    width: number

    Available container width in terminal cells.