@dxos/react-ui-list
    Preparing search index...

    Type Alias DisclosureItemBinding

    type DisclosureItemBinding = {
        expanded: boolean;
        panelId: string;
        panelProps: { "aria-labelledby": string; id: string; role: "region" };
        toggle: () => void;
        triggerId: string;
        triggerProps: {
            "aria-controls": string;
            "aria-expanded": boolean;
            id: string;
            onClick: (event: MouseEvent) => void;
        };
    }
    Index

    Properties

    expanded: boolean
    panelId: string

    Stable id on the controlled panel; the trigger references it via aria-controls.

    panelProps: { "aria-labelledby": string; id: string; role: "region" }

    Spread onto the disclosed panel; carries role=region for SR navigation.

    toggle: () => void
    triggerId: string

    Stable id on the disclosure trigger; the controlled panel references it via aria-labelledby.

    triggerProps: {
        "aria-controls": string;
        "aria-expanded": boolean;
        id: string;
        onClick: (event: MouseEvent) => void;
    }

    Spread onto the trigger element (button, title row, …).