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';
|
2023-03-22 12:11:03 +00:00
|
|
|
|
2022-09-06 12:03:37 +00:00
|
|
|
export default {
|
|
|
|
name: 'AccordionTab',
|
2023-12-21 23:41:41 +00:00
|
|
|
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>
|