CngxBreadcrumbConfig
projects/ui/breadcrumb/config/breadcrumb.config.ts
Import#
import { CngxBreadcrumbConfig } from '@cngx/ui/breadcrumb'
Description#
App-wide cascade for the breadcrumb family's ARIA labels, the router
dataKey, and the default visual skin.
Resolution priority (high -> low):
- Per-instance Input binding (e.g.
[label]="'Trail'",skin="pill"). provideBreadcrumbConfigAt(...)in a parent component'sviewProviders(component-scoped override).provideBreadcrumbConfig(...)at the application root.- Library defaults (English; merged in via
CNGX_BREADCRUMB_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#
literal typeARIA-string fallbacks for the bar landmark and the overflow/siblings
dropdown triggers and lists. Per-instance [label]/[triggerLabel]/
[menuLabel] bindings still win over these.
literal typeRouter-sync defaults shared by the trail (CngxBreadcrumbRouterSync)
and siblings (CngxBreadcrumbSiblingsRouterSync) route directives.
App-wide default visual skin. Per-instance [skin] still wins; this only
moves the cascade default. Unset resolves to 'classic' at the bar. A
flat top-level scalar (like config.skin in tabs), not a nested sub-tree.