Notification
Last updated
Last updated
If you need to display feedback to a user in-app you should use a banner notification. These are perfect for displaying unobtrusive messages at the top of the viewport, such as when a form error occurs or an action has been completed successfully.
If you want to send notifications when the user hasn't opened your app, you should use a Push Notification.
You can show banner notifications from anywhere in your application using the AppContext.
autoclose
determine if the notification disappears automatically
optional
boolean (default: false)
hasHeader
add padding if the header is visible
optional
boolean
text
message text
required
string
type
banner type
required
success, error or warning, info