pfToastNotificationList
patternfly.notification
Using this component displayes a list of toast notifications
<pf-toast-notification-list notifications="{Array}" show-close="{Boolean}" close-callback="{function}" update-viewing="{function}"> </pf-toast-notification-list>
Param | Type | Details |
---|---|---|
notifications | Array | The list of current notifications to display. Each notification should have the following (see pfToastNotification):
|
showClose | Boolean | Flag to show the close button on all notifications (not shown if the notification has menu actions) |
closeCallback | function | (function(data)) Function to invoke when closes a toast notification |
updateViewing | function | (function(boolean, data)) Function to invoke when user is viewing/not-viewing (hovering on) a toast notification |