How to get the instance of ion-tabs in vuejs

Hey guys,
I’ve seen, that the component has some predefined methods, see here. To use them I need to get a instance of the ion-tabs element, somehow.

  • I tried to reference the element with ref="myElement" and then use this as a instance const element = this.$refs.myElement.getSelected();, but I get an error message, which says getSelected() is not a function.
  • I also tried to get the <ion-tabs> with const tabs = document.querySelector('ion-tabs'); but the getSelected() method isn’t present there, too
    here is a bit more of my code:
<ion-tabs
    id="tabs-container"
    @IonTabsWillChange="beforeTabChange"
    @IonTabsDidChange="afterTabChange"
    ref="myElement"
  >
    <ion-tab
      tab="filter"
    >
      <filter-component />
    </ion-tab>
...

I appreciate any kind of help or advise. Kind regards