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

    Interface DropdownMenuItem<TAction>

    One top-level dropdown menu with nested actions.

    interface DropdownMenuItem<TAction extends MenuItem = MenuItem> {
        items: readonly TAction[];
        disabled?: boolean;
        id: string;
        label: string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    items: readonly TAction[]

    Actions shown when this top-level menu is open.

    disabled?: boolean

    Whether keyboard navigation and activation must skip this menu.

    id: string

    Stable menu identifier.

    label: string

    Visible menu label.