New to Kendo UI for Angular? Start a free 30-day trial
NotificationModule
Represents the NgModule definition for the Notification component.
The package exports:
NotificationService
—The Notification service class.
ts
// Import the Notification module
import { NotificationModule } from '@progress/kendo-angular-notification';
// The browser platform with a compiler
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { NgModule } from '@angular/core';
// Import the app component
@NgModule{{
declarations: [AppComponent], // declare app component
imports: [BrowserModule, NotificationModule], // import NotificationModule module
bootstrap: [AppComponent]
}}
export class AppModule {}
// Compile and launch the module
platformBrowserDynamic().bootstrapModule(AppModule);