DI token for content-projected items that should register with the surrounding CngxActiveDescendant
CNGX_AD_ITEM
Tokenv0.1.0WCAG AA
InjectionToken<CngxAdItemHandle>
Description#
DI token for content-projected items that should register with the
surrounding CngxActiveDescendant.
Consumers like CngxOption and CngxMenuItem expose themselves via:
providers: [{ provide: CNGX_AD_ITEM, useExisting: MyItem }]The contained directive must expose id, value, label, and optionally
disabled as signals - the AD reads them reactively.
Type#
InjectionToken<CngxAdItemHandle>