React Hookers - v6.3.0
    Preparing search index...

    Interface HeadlessMenuItemValue

    A value returned from the useMenuItem hook.

    interface HeadlessMenuItemValue {
        isExpanded: boolean;
        isFocused: boolean;
        isPressed: boolean;
        menuItemProps: HTMLAttributes<HTMLElement>;
    }
    Index

    Properties

    isExpanded: boolean

    true if a submenu is expanded.

    isFocused: boolean

    true if a menu item is currently focused.

    isPressed: boolean

    true if a menu item is currently pressed.

    menuItemProps: HTMLAttributes<HTMLElement>

    Props of an element that must have a menu item behavior.

    An object which identity never changes between renders.