Skip to main content
cngx-src documentation

provideStatCardConfigAt

Functionui/stat-cardv0.1.0

projects/ui/stat-card/config/provide-stat-card-config.ts

Description#

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

Unlike provideStatCardConfig (root-only), this injects the parent injector's CNGX_STAT_CARD_CONFIG value and deep-merges the supplied features on top. Descendant tiles see the merged config; sibling sub-trees keep the inherited value untouched.

Signature#

provideStatCardConfigAt(...features: undefined)

Parameters#

@paramfeatures

Returns#

Provider[]