New to Kendo UI for AngularStart a free 30-day trial

KENDO_NOTIFICATION

Use this utility array to access all @progress/kendo-angular-notification-related components and directives in a standalone Angular component.

typescript
import { Component } from '@angular/core';
import { KENDO_NOTIFICATION } from '@progress/kendo-angular-notification';

@Component({
  selector: 'my-app',
  standalone: true,
  imports: [KENDO_NOTIFICATION, KENDO_BUTTON],
  template: `<button kendoButton (click)="show()">Save data</button>`
})
export class AppComponent {
  constructor(private notificationService: NotificationService) {}

  public show(): void {
    this.notificationService.show({
      content: 'Data saved successfully',
    });
  }
}
Not finding the help you need?
Contact Support