Skip to main content
cngx-src documentation

ActiveDescendantItem

Interface

projects/common/a11y/active-descendant/ad-item.token.ts

Referenced by#

Import#

import { ActiveDescendantItem } from '@cngx/common/a11y'

Description#

Descriptor of an item managed by CngxActiveDescendant.

id must be unique and stable across change detection runs (use nextUid() from @cngx/core/utils). label is used by typeahead matching.

Index#

Instance Properties#

disabled#boolean
ReadonlyOptional

Disabled items are skipped during navigation when skipDisabled is true.

Readonly

Unique DOM id on the element - required for aria-activedescendant.

label#string
Readonly

Human-readable text used by typeahead. Falls back to empty string.

value#unknown
Readonly

Opaque value emitted on activated. Compared with Object.is by default.