forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLabel.vue
More file actions
49 lines (44 loc) · 913 Bytes
/
Label.vue
File metadata and controls
49 lines (44 loc) · 913 Bytes
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
47
48
49
<template>
<div class="q-pa-md">
<div class="q-gutter-sm">
<div>
<q-checkbox v-model="right" label="Label on Right" />
</div>
<div>
<q-checkbox left-label v-model="left" label="Label on Left" />
</div>
<div>
<q-checkbox
v-model="right2"
label="Swipe"
checked-icon="swipe_left"
unchecked-icon="swipe_right"
color="green"
keep-color
/>
</div>
<div>
<q-checkbox
left-label
v-model="left2"
label="I agree"
checked-icon="task_alt"
unchecked-icon="highlight_off"
/>
</div>
</div>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
left: ref(true),
right: ref(false),
left2: ref(true),
right2: ref(false)
}
}
}
</script>