Skip to main content
cngx-src documentation

CngxMenuItemLabel

Directivev0.1.0WCAG AA

projects/common/interactive/menu/menu-item-slot.directives.ts

Import#

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

Description#

Marker directive for the primary label position inside a [cngxMenuItem]. Applies cngx-menu-item__label. No aria-hidden default - the label is the menu item's accessible name and must reach assistive technology.

https://cngxjs.github.io/cngx/examples/#/common/interactive/menu/base/action-menu-with-separator

Metadata#