foundation-notifications.getnotificationcontainer
Home > @genesislcap/foundation-notifications > getNotificationContainer
getNotificationContainer() function
Get/Create the error container in the DOM
Signature:
getNotificationContainer: (id: string, tagName: String) => HTMLElement
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
string |
The id of the container |
|
tagName |
String |
The tag name to create prefix for the design system provider |
Returns:
HTMLElement