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

    Interface RenderActionBarOptions<TAction>

    Options accepted by renderActionBar.

    interface RenderActionBarOptions<
        TAction extends ActionBarAction = ActionBarAction,
    > {
        actions: readonly TAction[];
        activeId?: string;
        characters?: ActionBarCharacters;
        pad?: boolean;
        width: number;
    }

    Type Parameters

    Index

    Properties

    actions: readonly TAction[]

    Ordered actions. Caller-owned data is never mutated.

    activeId?: string

    Identifier receiving the visible focus marker.

    characters?: ActionBarCharacters

    Character tokens used to render state and separators.

    pad?: boolean

    Whether output is padded to exactly width cells.

    false

    width: number

    Available terminal-cell width.