forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDecorators.vue
More file actions
96 lines (80 loc) · 2.57 KB
/
Decorators.vue
File metadata and controls
96 lines (80 loc) · 2.57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<template>
<div class="q-pa-md">
<div class="q-gutter-md" style="max-width: 300px">
<q-file filled v-model="model" label="Label (stacked)" stack-label />
<q-file outlined v-model="model">
<template v-slot:prepend>
<q-icon name="attach_file" />
</template>
</q-file>
<q-file standout v-model="model">
<template v-slot:append>
<q-avatar>
<img src="https://cdn.quasar.dev/logo-v2/svg/logo.svg">
</q-avatar>
</template>
</q-file>
<q-file filled bottom-slots v-model="model" label="Label" counter>
<template v-slot:prepend>
<q-icon name="cloud_upload" @click.stop />
</template>
<template v-slot:append>
<q-icon name="close" @click.stop="model = null" class="cursor-pointer" />
</template>
<template v-slot:hint>
Field hint
</template>
</q-file>
<q-file rounded outlined bottom-slots v-model="model" label="Label" counter max-files="12">
<template v-slot:before>
<q-icon name="attachment" />
</template>
<template v-slot:append>
<q-icon v-if="model !== null" name="close" @click.stop="model = null" class="cursor-pointer" />
<q-icon name="search" @click.stop />
</template>
<template v-slot:hint>
Field hint
</template>
</q-file>
<q-file filled bottom-slots v-model="model" label="Label" counter max-files="12">
<template v-slot:before>
<q-avatar>
<img src="https://cdn.quasar.dev/img/avatar5.jpg">
</q-avatar>
</template>
<template v-slot:append>
<q-icon v-if="model !== null" name="close" @click.stop="model = null" class="cursor-pointer" />
<q-icon name="create_new_folder" @click.stop />
</template>
<template v-slot:hint>
Field hint
</template>
<template v-slot:after>
<q-btn round dense flat icon="send" />
</template>
</q-file>
<q-file filled bottom-slots v-model="model" label="Label" counter max-files="12">
<template v-slot:before>
<q-icon name="folder_open" />
</template>
<template v-slot:hint>
Field hint
</template>
<template v-slot:append>
<q-btn round dense flat icon="add" @click.stop />
</template>
</q-file>
</div>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
model: ref(null)
}
}
}
</script>