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

    Interface NavigationMenuSnapshot

    Immutable Navigation Menu snapshot.

    interface NavigationMenuSnapshot {
        activeId: string | null;
        contentId: string;
        controlled: boolean;
        items: readonly Readonly<NavigationMenuItem>[];
        mode: NavigationMenuMode;
        openId: string | null;
        position: PositionResult | null;
    }
    Index

    Properties

    activeId: string | null

    Keyboard-active navigation item.

    contentId: string

    Stable shared-content ID used by trigger aria-controls relationships.

    controlled: boolean

    Whether open-item state is consumer-owned.

    items: readonly Readonly<NavigationMenuItem>[]

    Ordered navigation items.

    Consumer-controlled responsive presentation mode.

    openId: string | null

    Item whose nested content is open.

    position: PositionResult | null

    Shared floating-content position.