OptionalcssSpecifies CSS class(es) to add to the notification, e.g., to locate the notification in tests.
OptionaldurationControls how long to display the notification.
Can be a duration alias, or milliseconds.
OptionalgroupSpecifies the group to which the notification belongs. Only the most recent notification within a group is displayed.
OptionalparamsPasses data to the notification.
The notification can declare mandatory and optional parameters. No additional parameters are allowed. Refer to the documentation of the capability for more information.
OptionalseveritySpecifies the severity of the notification. Defaults to info.
OptionaltitleSpecifies the title of the notification.
Can be text or a translation key. A translation key starts with the percent symbol (%) and may include parameters in matrix notation for text interpolation.
Controls the appearance and behavior of a notification.