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

    Interface CreateViewportOptions

    Options accepted by createViewport.

    interface CreateViewportOptions {
        height: number;
        width: number;
        contentHeight: number;
        contentWidth: number;
        x?: number;
        y?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    height: number

    Height measured in terminal rows.

    width: number

    Width measured in terminal cells.

    contentHeight: number

    Total content height in rows.

    contentWidth: number

    Total content width in cells.

    x?: number

    Initial horizontal offset.

    y?: number

    Initial vertical offset.