Added fullscreen composable and background for fullscreen
This commit is contained in:
1 parent
4754d61279
commit
78c4a6cb8e
3 files changed
+79
-4
No files matched your search
@@ -39,6 +39,7 @@ const durationFormatted = computed(() =>
|
||||
)
|
||||
|
||||
const toast = useToast()
|
||||
const fullscreen = useFullscreen()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -106,13 +107,11 @@ const toast = useToast()
|
||||
name="lucide:list"
|
||||
@click="toast.show('Not yet implemented')"
|
||||
/>
|
||||
<Icon
|
||||
name="lucide:expand"
|
||||
@click="toast.show('Not yet implemented')"
|
||||
/>
|
||||
<Icon name="lucide:expand" @click="fullscreen = true" />
|
||||
</div>
|
||||
</template>
|
||||
</article>
|
||||
<PlayerFullscreen />
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in new issue
Block a user