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

    Interface GaugeValueContext

    Normalized value information passed to a gauge value formatter.

    interface GaugeValueContext {
        percentage: number;
        threshold?: ThresholdRange;
        value: number;
    }
    Index

    Properties

    percentage: number

    Rounded progress in the inclusive range from 0 to 100.

    threshold?: ThresholdRange

    Matching threshold, if any.

    value: number

    Numeric value after it has been clamped to the configured range.