You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotificationService.setConfig({
position: 'top/bottom',
type: 'info/success/warn/error/grimace/default',
duration: 4000,
sticky: true/false,
})
where should i add default configuration of my angular app.Its give error when I try to add this in onInit like this
NotificationService.setConfig({
position: 'top',
type: 'default',
duration: 4000,
sticky: true,
});
give me this error
ERROR in ng2-notify-popup-test/src/app/app.component.ts (16,25): Property 'setConfig' does not exist on type 'typeof NotificationService'.
NotificationService.setConfig({
position: 'top/bottom',
type: 'info/success/warn/error/grimace/default',
duration: 4000,
sticky: true/false,
})
where should i add default configuration of my angular app.Its give error when I try to add this in onInit like this
NotificationService.setConfig({
position: 'top',
type: 'default',
duration: 4000,
sticky: true,
});
give me this error
ERROR in ng2-notify-popup-test/src/app/app.component.ts (16,25): Property 'setConfig' does not exist on type 'typeof NotificationService'.
@shubhi1407
The text was updated successfully, but these errors were encountered: