foundation-notifications
Home > @genesislcap/foundation-notifications
foundation-notifications package
Classes
Class |
Description |
---|---|
BannerBuilder | |
DialogBuilder class | |
NotificationBuilder to build NotificationStructure | |
SnackbarBuilder to build Snackbar | |
Enumerations
Enumeration |
Description |
---|---|
enum for different types of notification events |
Functions
Function |
Description |
---|---|
Get the banner anchor to attach the banner to | |
Get banner builder instance | |
Returns an instance of DialogBuilder | |
Retrieves the log level from an NotificationStructure object | |
Returns a new NotificationBuilder instance | |
Get/Create the error container in the DOM | |
Retrieves the notification details from an NotificationStructure object | |
Get snackbar builder instance | |
Get notification builder instance | |
showBanner(notificationStructure, tagName, notificationBoundary) |
Shows the notificationStructure dialog |
Shows logger with log level from NotificationStructure object | |
showNotification(notificationStructure, tagName, notificationBoundary) |
Shows the notificationStructure in the appropriate component |
Shows the notification alert | |
showNotificationBanner(configuration, tagName, notificationBoundary) |
Shows the notification banner |
Shows the notification dialog | |
Shows the notification snackbar | |
showNotificationToast(configuration, tagName, notificationContainer) |
Shows the notification toast |
Interfaces
Interface |
Description |
---|---|
Interface for Alert Structure | |
Interface for Banner configuration | |
Interface for Banner Structure | |
Interface for Confirming Action configuration | |
Interface for Dialog configuration | |
Interface for Dialog Structure | |
Interface for Dismissing Action configuration | |
Interface for notify data | |
Interface for Notification Structure | |
Interface for Snackbar configuration | |
Interface for Snackbar Structure | |
Interface for Toast configuration | |
Interface for ToastButton | |
Interface for Toast Structure |
Type Aliases
Type Alias |
Description |
---|---|
type for notification severity | |
type for notification | |
type for snackbar type | |
type for notification position |