Skip to main content
cngx-src documentation

withFeedbackI18nLabels

Functionui/feedback/i18n

projects/ui/feedback/config/feedback-i18n.ts

Description#

Override the feedback region names from inside provideFeedback(). Unset keys keep the English default.

provideFeedback(
  withToasts(),
  withAlerts(),
  withFeedbackI18nLabels({ alertsRegionLabel: 'Hinweise' }),
)

Contributes the token through the feature's _providers, so - like withCloseIcon - a second call in the same provideFeedback() wins over the first rather than merging with it. Pass every key in one call.

Signature#

withFeedbackI18nLabels(overrides: CngxFeedbackI18nOverrides)

Parameters#

Returns#

FeedbackFeature