Could someone advise is it possible to subscribe for the dismiss event from outer app?
More details: I use custom template and I pass the notification context which is typeof NotifierNotificationOptions. Then, as I've seen, passed context gets processed somehow and in the end there is field public notification: NotifierNotification; in the NotifierNotificationComponent. NotifierNotification contains the reference to the component, so the logical question: is it possible to access that field containing component reference from custom template using context variable?
I'm asking 'cause I haven't found where that field gets initialized; for me seems it should be initialized either in the ngAfterViewInit() or in the setup() which is also withinngAfterViewInit()
Hello,
Could someone advise is it possible to subscribe for the dismiss event from outer app?
More details: I use custom template and I pass the notification context which is typeof
NotifierNotificationOptions
. Then, as I've seen, passed context gets processed somehow and in the end there is fieldpublic notification: NotifierNotification;
in theNotifierNotificationComponent
.NotifierNotification
contains the reference to the component, so the logical question: is it possible to access that field containing component reference from custom template using context variable? I'm asking 'cause I haven't found where that field gets initialized; for me seems it should be initialized either in thengAfterViewInit()
or in thesetup()
which is also withinngAfterViewInit()