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

    Interface RenderCheckboxOptions

    Options accepted by renderCheckbox.

    interface RenderCheckboxOptions {
        checked?: CheckboxState;
        characters?: CheckboxCharacters;
        disabled?: boolean;
        focused?: boolean;
        label: string;
        width?: number;
    }
    Index

    Properties

    checked?: CheckboxState

    Current checked state.

    characters?: CheckboxCharacters

    Character tokens for each state.

    disabled?: boolean

    Whether focus and toggling are unavailable.

    focused?: boolean

    Whether the checkbox currently owns terminal focus.

    label: string

    Non-empty, single-line checkbox label.

    width?: number

    Maximum terminal-cell width of the rendered row.