Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230896

How to update property of singleton for display in template?

$
0
0

How do you ONLY reference SharedService in one component and then it’s available in all the other components? This is not processing with me. In order to use the SharedService in other components outside of App.js (e.g. to emit it), you’d have to import in ANY component that is needed to update the prop, right? Sorry if I’m misunderstanding your thought process on this, but this isn’t clicking for me. I’d have to see examples of this logic…


Viewing all articles
Browse latest Browse all 230896

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>