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.

2
  • any solution yet Commented Aug 9, 2022 at 7:47
  • Unfortunately no. Commented Aug 9, 2022 at 8:15

1 Answer 1

5

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>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.