Skip to main content
cngx-src documentation

CNGX_OPTION_INTERACTION_HOST

Tokenv0.1.0WCAG AA

InjectionToken<CngxOptionInteractionHost>

Description#

DI token a host provides on itself when content-projected CngxOption instances need a fallback path to highlight + activate

  • hover behaviour. Mirrors the four other shell-host tokens (CNGX_OPTION_CONTAINER, CNGX_OPTION_STATUS_HOST, CNGX_OPTION_FILTER_HOST, CNGX_SELECT_SHELL_SEARCH_HOST).

CngxOption injects this token with { optional: true } - standalone use (no host provides the token) leaves option behaviour unchanged because the option's own AD inject takes precedence when available.

Type#

InjectionToken<CngxOptionInteractionHost>