0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-26 05:05:23 +00:00
VueTube/NUXT/components/Player/loop.vue
2022-07-29 01:41:01 -04:00

22 lines
416 B
Vue

<template>
<v-btn fab text small @click="$emit('loop')">
<v-icon
color="white"
style="transition: transform 0.5s"
:style="{ transform: loop ? 'rotate(180deg)' : '' }"
>{{ loop ? "mdi-sync-circle" : "mdi-sync" }}</v-icon
>
</v-btn>
</template>
<script>
export default {
props: {
loop: {
type: Boolean,
default: false,
},
},
emits: ["loop"],
};
</script>