Skip to main content
cngx-src documentation

CNGX_OPTION_CONTAINER

Tokenv0.1.0

InjectionToken<CngxOptionContainer>

Description#

DI token registered by both CngxOption and CngxOptionGroup.

Hierarchy-aware projection roots (CngxSelectShell and friends) query a single token via contentChildren(CNGX_OPTION_CONTAINER, { descendants: false }) and walk the result preserving DOM order. The discriminated kind field separates leaves from groups without forcing the consumer to import either directive class.

Type#

InjectionToken<CngxOptionContainer>