Hi,


My Angular2 app has many components, each of them communicates to backend 
to get data (error prone process), 

and then I need to show errors or warnings to the user in parent container 
(say, main page). 

Since bubbling doesn't seem to be supported in ng2/4 (why not?), is there 
easy way to pass info to parent container?


I have seen some people suggesting to use 
elementRef.nativeElement.parentElement, 

some elementRef.nativeElement.dispatchEvent(new CustomEvent())....

Any better choices?


Please advise.


TIA, 

Oleg

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to