How do we properly implement ToastNotifications?
#20316
Unanswered
timothydilbert
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The CDS documentation gives examples of how to implement the
<ToastNotification />on a simple page. Thank you for that. Very helpful! What's not clear, however, is how to implement in our setting.We often want to have a
ToastNotificationdisplay if when there is an error inside of a component embedded onto one of our pages. It's not clear how to get raise the ToastNotification in our embedded component, and have that Toast render up in the top-right of the page.ToastNotificationinto the component, it renders inline, pushing all of the HTML down.propfromlayout.jsall the way down to a heavily embedded component makes the code change much larger than we want.How does IBM solve this problem? Is there such thing as a
NotificationProviderin CDS?Beta Was this translation helpful? Give feedback.
All reactions