The Notification provides built-in notification types which provide ready-to-use shorthand display methods and styling functionalities.
By default, the notification type is
The available built-in notification types are:
The shorthand method names match the input names of the notification types. You can also define an unlimited amount of custom notification types and corresponding templates. For more information on the templates, refer to the section on Notification templates.
The following example demonstrates how to apply the built-in notification types.