Skip to main content
cngx-src documentation

CngxMenuFocusStackDeps

Interface

projects/common/interactive/menu/menu-focus-stack.ts

Import#

import { CngxMenuFocusStackDeps } from '@cngx/common/interactive'

Description#

Dependencies for createMenuFocusStack. The caller injects the keyboard policy and Document and passes them in, so the factory itself stays pure and swappable via CNGX_MENU_FOCUS_STACK_FACTORY.

Index#

Instance Properties#

document#Document
Readonly

Document used to capture the pre-open focus target.

popover#function
Readonly

Popover to hide when the outermost level closes.

rootMenu#function
Readonly

Root menu host - the bottom of the submenu chain.