Scroll to top on the tabs page from tab function


I have an app with a map and tabs component, I would like to click on a facility and scroll the tabs page to top.
I’ve tried with this.content.scrollToTop(500), but this is only scrolling the facilities page(single tab page) to top, not the parent(tabs page).

Does anyone know how to scroll the parent from a tab child function?

Thank you

Add a ID to the parent container the add document.getElementById(‘id’).ScrollintoView().

If this not work, fire a Event from the child and subscribe this from the parent , then add scrollTop to the parent

I’ve fixed guys, thank you!
I have sent through params the content from the parent.

this.contentParent = this.navParams.get("contentParent")
this.contentParent.scrollTo(0,0, 600);