I've been working on developing a new message system that utilizes toaster notifications:
My main query revolves around expanding the capabilities to enable multiple alert components that can be specifically targeted within various templates.
For instance, in the root app.component.html template, it would include:
<alert root></alert>
While a sub component would contain:
<alert subcomponent></alert>
The current setup of the toaster tutorial (component) will target any instance of the alert component in a template.
If there were two instances, they both receive the same message when the service is activated.
My goal is to introduce an additional parameter in the service call:
this.alertService.success(message,target);