Show
methodsDisplays a notification.
Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.
Important The content will not be HTML-encoded. Use the showText if you only intend to show plain text.
The notification type. Predefined type values include "base", "primary", "secondary", "tertiary", "info", "success", "warning", "error" and "inverse". Custom types should match the types from the template configuration.
If this argument is not supplied, then "base" is assumed.
Controls the HTML encoding. When the value is true the content is HTML-encoded (safe from XSS attacks). The false or undefined (omitted) refers to the content NOT being encoded.