Skip to main content
cngx-src documentation

CngxContextMenuDivider

ComponentOnPushNo encapsulationv0.1.0WCAG AA

projects/ui/context-menu/context-menu-divider.component.ts

Import#

import { CngxContextMenuDivider } from '@cngx/ui/context-menu'

Description#

Non-interactive separator between context-menu item groups. Thin shell over CngxMenuSeparator (role="separator", aria-orientation="horizontal"), skipped by active-descendant navigation and typeahead. Dual selector: use as an element or as an attribute on a native <hr>.

<cngx-context-menu-divider />
<hr cngxContextMenuDivider />

https://cngxjs.github.io/cngx/examples/#/ui/context-menu/basic/static-items https://cngxjs.github.io/cngx/examples/#/ui/context-menu/attribute-form/native-buttons

Metadata#