mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-31 13:54:34 +03:00
44 lines
827 B
Vue
44 lines
827 B
Vue
<template>
|
|
<TopActions v-if="!$vuetify.breakpoint.xsOnly" :show-all="showAll" />
|
|
<v-speed-dial
|
|
v-else
|
|
v-model="fab"
|
|
transition="slide-y-transition"
|
|
direction="bottom"
|
|
style="position: absolute; top: 0.3em; right: 1em"
|
|
>
|
|
<template #activator>
|
|
<v-btn
|
|
v-model="fab"
|
|
color="grey"
|
|
text
|
|
small
|
|
fab
|
|
>
|
|
<v-icon v-if="fab">
|
|
mdi-close
|
|
</v-icon>
|
|
<v-icon v-else>
|
|
mdi-dots-vertical
|
|
</v-icon>
|
|
</v-btn>
|
|
</template>
|
|
<TopActions :show-all="showAll" :mobile="true" />
|
|
</v-speed-dial>
|
|
</template>
|
|
|
|
<script>
|
|
import TopActions from './TopActions'
|
|
|
|
export default {
|
|
name: 'TopMenu',
|
|
components: { TopActions },
|
|
props: ['showAll'],
|
|
data() {
|
|
return {
|
|
fab: false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|