0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-12 22:45:06 +00:00
VueTube/NUXT/components/Player/fullscreen.vue
2022-06-07 14:29:57 -04:00

27 lines
495 B
Vue

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