primevue-mirror/components/lib/accordiontab/AccordionTab.vue

20 lines
360 B
Vue
Raw Normal View History

2022-09-06 12:03:37 +00:00
<template>
<slot></slot>
</template>
<script>
2023-05-23 23:40:14 +00:00
import BaseAccordionTab from './BaseAccordionTab.vue';
2022-09-06 12:03:37 +00:00
export default {
name: 'AccordionTab',
extends: BaseAccordionTab,
inject: ['$accordionTabs'],
mounted() {
this.$accordionTabs?.add(this.$);
},
unmounted() {
this.$accordionTabs?.delete(this.$);
}
2022-09-14 11:26:01 +00:00
};
2022-09-06 12:03:37 +00:00
</script>