• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

Content

The Notification provides options for controlling its content.

To configure the content, use any of the following approaches:

Passing a String

Passing a string to the content field is the basic way to display a notification message. The text that is passed represents the rendered content of the notification.

Example
View Source
Change Theme:

Using Templates

To set a template for the content area of the Notification, pass a TemplateRef to the content field of the show method.

Example
View Source
Change Theme:

Rendering a Component

To render a component in the content area of the Notification, pass a component type in the content field of the show method.

Register all dynamically created components as entryComponents in the NgModule of the application. Otherwise, Angular throws a no component factory exists for the component runtime error.

Example
View Source
Change Theme: