3

What I have read in Primevue documentation, does not seem enough to figure it out. I did not find adequate examples at all, and the docs only says:

Primevue docs about the issue

1

Can someone help me out? I am stuck.

vimuth
  • 5,064
  • 33
  • 79
  • 116
Tamás László
  • 139
  • 1
  • 8

1 Answers1

4

I hope this example helps, please comment if you need more information:

<template>
<div>
    <TabView @tab-change="onTabChange">
        <TabPanel header="A"></TabPanel>
        <TabPanel header="B"></TabPanel>
    </TabView>
</div>
</template>

<script setup>
function onTabChange(event) {
    console.log(event)
}
</script>
some-user
  • 3,888
  • 5
  • 19
  • 43