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

    Interface RenderScrollAreaScrollbarOptions

    Options accepted by renderScrollAreaScrollbar.

    interface RenderScrollAreaScrollbarOptions {
        characters?: ScrollAreaCharacters;
        contentSize: number;
        viewportSize: number;
        offset: number;
        thumbOffset: number;
        thumbSize: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Track and thumb characters.

    { track: '│', thumb: '█' }

    contentSize: number

    Total number of cells or rows in the content.

    viewportSize: number

    Number of visible cells or rows.

    offset: number

    Current bounded content offset.

    thumbOffset: number

    Scrollbar thumb start within a track equal to viewportSize.

    thumbSize: number

    Scrollbar thumb length within a track equal to viewportSize.