mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-23 11:45:15 +00:00
22 lines
416 B
Vue
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>
|