I have a problem and I was looking for a solution all day long, but I’ve given up. Hopefully you might have a solution…
Let’s say - I have a component A. The template and the css are also included inside the component code - containing an <ion-content #scroller>....</ion-content> element.
My question: How can I access this “ion-content” element from my regular page via “ViewChild”? I would like to perform some scroll actions, but it’s not working and I really tried almonst everything. :frowning
This example shows only how to get the reference for the <ion-content /> on the same page. The component I would like to access is on a template of the components component… It’s a add-on component with it’s own template.