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

    Interface RenderHealthIndicatorOptions

    Options accepted by renderHealthIndicator.

    interface RenderHealthIndicatorOptions {
        height?: number;
        label?: string;
        maxReasons?: number;
        services: readonly HealthIndicatorService[];
        showReasons?: boolean;
        width?: number;
        detailSeparator?: string;
        marker?: string;
        markers?: StatusMarkers;
        showMarker?: boolean;
    }

    Hierarchy

    Index

    Properties

    height?: number

    Maximum rendered line count.

    no limit
    
    label?: string

    Primary summary label.

    'Health'

    maxReasons?: number

    Maximum reason rows rendered after the summary.

    all reasons
    
    services: readonly HealthIndicatorService[]

    Services included in the health summary.

    showReasons?: boolean

    Whether service reasons are rendered after the summary.

    true

    width?: number

    Maximum rendered width measured in terminal cells.

    detailSeparator?: string

    Separator inserted between label and detail.

    ' - '

    marker?: string

    Explicit marker rendered before the label.

    markers?: StatusMarkers

    Semantic marker mapping.

    Every marker must be exactly one terminal cell wide.

    STATUS_UNICODE_MARKERS

    showMarker?: boolean

    Whether the semantic marker is rendered.

    true