Skip to main content
cngx-src documentation

provideTocConfigAt

Functionui/tocv0.1.0

projects/ui/toc/config/provide-toc-config.ts

Description#

Component-scoped configuration cascade for the toc organism. Pass any combination of feature factories in a parent component's viewProviders array.

Unlike provideTocConfig (root-only), provideTocConfigAt injects the parent injector's CNGX_TOC_CONFIG value (resolves through the priority chain) and deep-merges the supplied features on top. Descendant toc instances see the merged config; sibling sub-trees keep the inherited value.

Signature#

provideTocConfigAt(...features: undefined)

Parameters#

@paramfeatures

Returns#

Provider[]