We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b042dc8 commit 6815202Copy full SHA for 6815202
src/notification/notification.service.ts
@@ -4,7 +4,8 @@ import {
4
Injectable,
5
OnDestroy,
6
NgZone,
7
- ViewContainerRef
+ ViewContainerRef,
8
+ Injector
9
} from "@angular/core";
10
11
import { NotificationContent, ToastContent, ActionableContent } from "./notification-content.interface";
@@ -30,7 +31,11 @@ export class NotificationService implements OnDestroy {
30
31
/**
32
* Constructs Notification Service
33
*/
- constructor(protected viewContainer: ViewContainerRef, protected ngZone: NgZone) {}
34
+ constructor(
35
+ protected injector: Injector,
36
+ protected viewContainer: ViewContainerRef,
37
+ protected ngZone: NgZone
38
+ ) {}
39
40
41
* Shows the notification based on the `notificationObj`.
0 commit comments