Sander, Thanks for the information. Since, Elements is relatively new, I don't see a lot of information or examples out there. Can you shed some light on the following:
- Do I create the Elements in the same App as my Main App. Intuitively I would say yes, as the Elements would need access to the same Services as the Main App. However I see examples that show I have to package Elements in a specific manner - see https://www.telerik.com/blogs/getting-started-with-angular-elements (Packaging Angular Elements). Has any of this changed with Angular 7? - Do you have any basic examples of Elements you share that make use of shared injected services/ Thanks again for all of your help. Scott On Fri, Dec 28, 2018 at 4:28 AM Sander Elias <[email protected]> wrote: > Hi Scott, > > Angular elements is your answer there. As you noticed yourself, you can > inject any service that is available to your app. > You can communicate with your app using those services. > In most of my somewhat bigger apps, I'm using a message-bus service. You > can inject that where ever you need to send/retrieve state/data. As it's > bi-directional, it solves most of those issues. > > Regards > Sander > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Angular and AngularJS discussion" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/PnHiXroP-VI/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
