0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-09 21:15:06 +00:00
VueTube/NUXT/components/Player/fullscreen.vue
2022-05-29 18:14:00 -04:00

24 lines
424 B
Vue

<template>
<v-btn
fab
text
small
color="white"
style="position: absolute; bottom: 0.25rem; right: 0.25rem"
@click.stop="$emit('fullscreen')"
>
<v-icon>{{ fullscreen ? "mdi-fullscreen-exit" : "mdi-fullscreen" }}</v-icon>
</v-btn>
</template>
<script>
export default {
props: {
fullscreen: {
type: Boolean,
required: true,
},
},
emits: ["fullscreen"],
};
</script>