Enable the global banner system within provideFeedback()
withBanners
Functionui/feedback
projects/ui/feedback/config/feedback-config.ts
Description#
Enable the global banner system within provideFeedback().
Provides CngxBanner at the environment level.
Without this feature, CngxBannerOutlet will throw a NullInjectorError.
Banners are always persistent - no duration. Dismiss programmatically
via banner.dismiss(id) when the condition resolves.
provideFeedback(
withToasts(),
withAlerts(),
withBanners(),
)Signature#
withBanners()Returns#
FeedbackFeature