New to Kendo UI for Angular? Start a free 30-day trial

Types

The Notification allows you to set different types of notifications.

Each type is color-coded, which allows the user to immediately recognize whether the notification indicates a successful operation or an error message. To use the predefined styles for each Notification type, pass a type value to the dynamically created (with the Notification Service) component in the type field of the result. Based on the Notification type your project requires, you can also display an icon by specifying typeIcon: true.

The available type values are:

  • noneRenders the default styling options of the component.
  • successIndicates a successfully completed action.
  • infoProvides neutral information about a process or an action.
  • errorInforms the user about an erroneous outcome from a process or an action.
  • warningWarns against the occurrence of possible issues.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?