What are you trying to accomplish
I wanted to emit events from a Tab Custom Component that can be captured by the parent component to update the parent’s component state.
Code stack you are integrating Builder with
Vue in Astro
Reproducible code example
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-16 md:px-[30px] lg:px-[60px] align-top transition-colors duration-500" :style="`background:${(sectionItems??[])[id]?.backgroundColor}`">
<section class="h-full relative">
<template v-for="(item, index) in sectionItems" :key="item">
<div class="h-[100dvh] flex items-center" data-parallel-scroll :data-parallel-scroll-id="index">
<div class="w-full max-w-xl mx-auto">
<blocks
:path="`component.options.sectionItems.${index}.content`"
:parent="props.builderBlock.id"
:blocks="item.content"
// Can I put a call back here ? Like
@tabChange="Do something"
/>
</div>
</div>
</template>
</section>
</div>