Skip to main content
cngx-src documentation

CngxMenuItemCoreOptions

Interface

projects/common/interactive/menu/menu-item-core.ts

Import#

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

Description#

Options for injectMenuItemCore.

Index#

Instance Properties#

disabled#Signal
Readonly

Disabled state - gates click activation and pointer highlight.

labelInput#Signal
Readonly

Explicit label input; label() falls back to the host's text content.

onActivate#function
ReadonlyOptional

Variant activation step, run between highlightByValue and activateCurrent on the active-descendant path only (checkbox: toggle checked; radio: select in the group; plain item: omitted).

value#Signal
Readonly

The item's payload value, forwarded to highlightByValue.