mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-09 13:05:07 +00:00
24 lines
424 B
Vue
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>
|