Skip to main content
cngx-src documentation

CNGX_MENU_SUBMENU_ITEM

Tokenv0.1.0WCAG AA

InjectionToken<CngxMenuSubmenuLike>

Description#

DI token a submenu-companion directive provides. The surrounding menu collects every provider via contentChildren(CNGX_MENU_SUBMENU_ITEM, { descendants: true }) and exposes the array on CngxMenuHost.submenuItems.

Type#

InjectionToken<CngxMenuSubmenuLike>