How to identify (get id) which tab is selected?

In f7 v2 vue it was easy to identify the tab for ex.

on: {
        pageBeforeRemove() {
            console.log('page before remove')
        tabShow: function(tabEl) {
            const targettab =;

but how to do it in v3. The same code is not working
how can I use


to get the selected tab id?

app.on('tabShow', (tabEl) => {
  const targettab =;


<f7-page @tab:show.native="onTabShow">...
methods: {
  onTabShow(event) {
    const targettab =;