forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVariousContent.vue
More file actions
46 lines (40 loc) · 1.06 KB
/
VariousContent.vue
File metadata and controls
46 lines (40 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<template>
<div class="q-pa-md">
<q-btn color="purple" label="Account Settings">
<q-menu>
<div class="row no-wrap q-pa-md">
<div class="column">
<div class="text-h6 q-mb-md">Settings</div>
<q-toggle v-model="mobileData" label="Use Mobile Data" />
<q-toggle v-model="bluetooth" label="Bluetooth" />
</div>
<q-separator vertical inset class="q-mx-lg" />
<div class="column items-center">
<q-avatar size="72px">
<img src="https://cdn.quasar.dev/img/avatar4.jpg">
</q-avatar>
<div class="text-subtitle1 q-mt-md q-mb-xs">John Doe</div>
<q-btn
color="primary"
label="Logout"
push
size="sm"
v-close-popup
/>
</div>
</div>
</q-menu>
</q-btn>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
mobileData: ref(true),
bluetooth: ref(false)
}
}
}
</script>