so://phie

verbal

A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal

blob: 0c9ab8d101966191b15804e159bad64f3a284a3a (300 bytes)[doc][blame][raw]

1export default {

2 props: ['id', 'tab'],

3 watch: {

4 tab: function(value) {

5 this.$emit(value === this.id ? 'show' : 'hide');

6 }

7 },

8 template: `

9 <div v-if="id === tab" class="flex flex-col gap-6 sm:gap-12">

10 <slot></slot>

11 </div>

12 `

13}