UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface CommandItem

    Registered command metadata and action.

    interface CommandItem {
        disabled?: boolean;
        group?: string;
        id: string;
        keywords?: readonly string[];
        perform: () => void | Promise<void>;
        text: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    disabled?: boolean

    Whether keyboard navigation and selection skip the item.

    group?: string

    Optional visual grouping label.

    id: string

    Stable consumer-provided identifier.

    keywords?: readonly string[]

    Additional searchable terms.

    perform: () => void | Promise<void>

    Action invoked after a non-cancelled selection.

    text: string

    Text used for typeahead and search.