A notification bar provides contextual feedback messages
A JS example to invoke a notification is provided below.
The notification JS provides the following options
origin[DOM Element] element that triggered the notification
options[Object] object of params
title[String] message to display in the notification. (Required)
className[String] optional CSS class name to apply to the notification.
onNotificationOpen[Function] function to fire after notification has been opened.
onNotificationClose[Function] function to fire after notification has been closed.
hasDismiss[Boolean] include or not include dismiss button.
closeText[String] text to use for close button a11y.
isSticky[Boolean] determines if notification is absolutely positioned and sticky.
Notification bars have a range of different colors.