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

    Interface CalculateSpacerLayoutOptions

    Options accepted by calculateSpacerLayout.

    interface CalculateSpacerLayoutOptions {
        axis?: SpacerAxis;
        height: number;
        crossAxis?: SpacerCrossAxis;
        size?: SpacerSize;
        width: number;
    }
    Index

    Properties

    axis?: SpacerAxis

    Main axis consumed by the spacer.

    'vertical'

    height: number

    Available container height in terminal rows.

    crossAxis?: SpacerCrossAxis

    Cross-axis behavior.

    'stretch'

    size?: SpacerSize

    Main-axis size. fill consumes the available main-axis space.

    'fill'

    width: number

    Available container width in terminal cells.