Skip to main content
cngx-src documentation

provideBreadcrumbConfigAt

Functionui/breadcrumbv0.1.0

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

Description#

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

Unlike provideBreadcrumbConfig (root-only), provideBreadcrumbConfigAt injects the parent injector's CNGX_BREADCRUMB_CONFIG value (resolves through the priority chain - root provider, library defaults, or another provideBreadcrumbConfigAt further up) and deep-merges the supplied features on top. Descendant breadcrumb instances see the merged config; sibling sub-trees keep the inherited value untouched.

Signature#

provideBreadcrumbConfigAt(...features: undefined)

Parameters#

@paramfeatures

Returns#

Provider[]