Skip to main content
cngx-src documentation

FeedbackConfig

Interface

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

Import#

import { FeedbackConfig } from '@cngx/ui/feedback'

Description#

Global configuration for all feedback components. Provided via provideFeedback() with with* features.

Index#

Instance Properties#

alertDedupWindow#number
Optional

Dedup window for identical alerts in ms.

alertDefaultDuration#number
Optional

Default auto-dismiss duration for scoped alerts in ms. undefined = persistent.

alertIcons#Partial>>
Optional

Custom icon components per alert severity. Replaces built-in SVG icons.

alertMaxVisible#number
Optional

Default max visible alerts per stack.

closeIconComponent#Type
Optional

Custom close/dismiss icon component - replaces default X SVG globally.

loadingDelay#number
Optional

Default delay in ms before showing loading indicators.

loadingMinDuration#number
Optional

Default minimum display time in ms for loading indicators.

spinnerComponent#Type
Optional

Custom spinner component to replace the built-in SVG spinner.

toastDedupWindow#number
Optional

Dedup window for identical toasts in ms.

toastDefaultDuration#number
Optional

Default auto-dismiss duration for toasts in ms.