App-wide cascade for the stat-card's ARIA/message strings and its default loading treatment
CngxStatCardConfig
Interface
projects/ui/stat-card/config/stat-card.config.ts
Import#
import { CngxStatCardConfig } from '@cngx/ui/stat-card'
Description#
App-wide cascade for the stat-card's ARIA/message strings and its default loading treatment.
Resolution priority (high -> low):
- Per-instance Input binding (e.g.
[errorText],[loadingTreatment]). provideStatCardConfigAt(...)in a parent component'sviewProviders.provideStatCardConfig(...)at the application root.- Library defaults (English; merged in via
CNGX_STAT_CARD_DEFAULTS).
Every key is optional - partial overrides deep-merge with the library defaults, so consumers declare only the keys they want to override.
Index#
Properties
Instance Properties#
ariaLabels#
literal typeReadonlyOptional
String fallbacks for the tile's non-content states. Per-instance
[busyLabel] / [errorText] / [staleText] bindings still win.
loadingTreatment#
CngxLoadingTreatmentReadonlyOptional
App-wide default loading treatment. Per-instance [loadingTreatment]
still wins; this only moves the cascade default. A flat top-level scalar,
not a nested sub-tree.