Notification Types

The Notification provides built-in notification types which provide ready-to-use shorthand display methods and styling functionalities.

By default, the notification type is "info".

The available built-in notification types are:

  • "info"
  • "success"
  • "warning"
  • "error"

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.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?