Skip to content

Instantly share code, notes, and snippets.

View iamsank8's full-sized avatar
🕵️‍♀️
Working

Sanket Thotange iamsank8

🕵️‍♀️
Working
  • Nitor Infotech
  • Pune, India
View GitHub Profile
@iamsank8
iamsank8 / About-the-notification-component.txt
Created October 22, 2019 04:18 — forked from sannonaragao/About-the-notification-component.txt
Use PrimeNG Message and Growl as a global service of the application.
PrimeNG has 2 different components to display messages:
The Messages component: https://www.primefaces.org/primeng/#/messages
The Growl component: https://www.primefaces.org/primeng/#/growl
notifications.component.ts - is the notification component with both growl and services from PrimeNg:
<p-growl [value]="growl"></p-growl>
<p-messages [value]="message"></p-messages>
notifications.service.ts - is the service to be used to send messages do Growl and Messages.