@antadesign/anta
    Preparing search index...

    Interface MenuPresenceUnreviewed

    Menu ↔ Tooltip presence coordinator — in-memory only, no DOM. a-menu publishes whether a menu system is open and whether a node sits inside it; a-tooltip reads this to suppress a tooltip anchored outside an open menu. (Menu and tooltip are both top-layer popovers, stacked by show order, so a tooltip opened while a menu is up would paint over it — z-index can't reorder the top layer.) Decoupled on purpose: neither element imports the other, and if a-menu never loads the provider stays null and every tooltip shows.

    interface MenuPresence {
        isOpen(): boolean;
        contains(node: Node): boolean;
    }
    Index
    • Is node inside the open menu system — a menu surface, a slotted item, or an open trigger? (A tooltip there is a menu-item tooltip and still shows, above the menu.)

      Parameters

      • node: Node

      Returns boolean