|
9 | 9 | <q-list> |
10 | 10 | <q-item clickable v-close-popup @click="pickComponent('e-button')"> |
11 | 11 | <q-item-section> |
12 | | - <q-item-label>Button <q-btn class="demo-button" color="blue" label="Default" /></q-item-label> |
13 | | - </q-item-section> |
| 12 | + button |
| 13 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 14 | + <q-btn color="secondary" label="Secondary" /> |
| 15 | + <q-icon name="keyboard_arrow_right"/> |
| 16 | + </q-tooltip> |
| 17 | + </q-item-section> |
14 | 18 | </q-item> |
15 | 19 |
|
16 | 20 | <q-item clickable v-close-popup @click="pickComponent('e-input')"> |
17 | 21 | <q-item-section> |
18 | | - <q-item-label>InputBox <q-input class="demo-input" outlined /></q-item-label> |
| 22 | + InputBox |
| 23 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 24 | + <img alt="inputbox" src="../../../assets/inputbox.png" class="input-box"> |
| 25 | + <q-icon name="keyboard_arrow_right"/> |
| 26 | + </q-tooltip> |
19 | 27 | </q-item-section> |
20 | 28 | </q-item> |
21 | 29 |
|
22 | 30 | <q-item clickable v-close-popup @click="pickComponent('e-link')"> |
23 | 31 | <q-item-section> |
24 | | - <q-item-label>Link <a href="#">Link</a></q-item-label> |
| 32 | + Link |
| 33 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 34 | + <img alt="inputbox" src="../../../assets/link.png" class="input-box"> |
| 35 | + <q-icon name="keyboard_arrow_right"/> |
| 36 | + </q-tooltip> |
25 | 37 | </q-item-section> |
26 | 38 | </q-item> |
27 | 39 |
|
28 | 40 | <q-item clickable v-close-popup @click="pickComponent('e-card')"> |
29 | 41 | <q-item-section> |
30 | | - <q-item-label>Card |
31 | | - <q-card class="my-card"> |
32 | | - <q-card-section> |
33 | | - Card |
34 | | - </q-card-section> |
35 | | - </q-card> |
36 | | - |
37 | | - </q-item-label> |
| 42 | + Card |
| 43 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 44 | + <img alt="card" src="../../../assets/card.png" class="card"> |
| 45 | + <q-icon name="keyboard_arrow_right"/> |
| 46 | + </q-tooltip> |
38 | 47 | </q-item-section> |
39 | 48 | </q-item> |
40 | 49 |
|
41 | 50 | <q-item clickable v-close-popup @click="pickComponent('e-form')"> |
42 | 51 | <q-item-section> |
43 | | - <q-item-label>Form <q-form class="demo-form" outlined /></q-item-label> |
| 52 | + Form |
| 53 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 54 | + <img alt="form" src="../../../assets/form.png" class="form"> |
| 55 | + <q-icon name="keyboard_arrow_right"/> |
| 56 | + </q-tooltip> |
44 | 57 | </q-item-section> |
45 | 58 | </q-item> |
46 | 59 |
|
47 | 60 | <q-item clickable v-close-popup @click="pickComponent('e-checkbox')"> |
48 | 61 | <q-item-section> |
49 | | - <q-item-label>Checkbox <q-checkbox class="demo-checkbox" outlined /></q-item-label> |
| 62 | + Checkbox |
| 63 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 64 | + <img alt="checkbox" src="../../../assets/checkbox.png" class="checkbox"> |
| 65 | + <q-icon name="keyboard_arrow_right"/> |
| 66 | + </q-tooltip> |
50 | 67 | </q-item-section> |
51 | 68 | </q-item> |
52 | 69 |
|
53 | 70 | <q-item clickable v-close-popup @click="pickComponent('e-checkbox-button')"> |
54 | 71 | <q-item-section> |
55 | | - <q-item-label>Checkbox-button <q-checkbox-button class="demo-checkbox-button" color="blue" outlined /></q-item-label> |
| 72 | + Checkbox Button |
| 73 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 74 | + <img alt="checkboxbutton" src="../../../assets/checkboxbutton.png" class="checkboxbutton"> |
| 75 | + <q-icon name="keyboard_arrow_right"/> |
| 76 | + </q-tooltip> |
56 | 77 | </q-item-section> |
57 | 78 | </q-item> |
58 | 79 |
|
59 | 80 | <q-item clickable v-close-popup @click="pickComponent('e-date-picker')"> |
60 | 81 | <q-item-section> |
61 | | - <q-item-label>Date-picker <q-date-picker class="demo-date-picker" v-model="value1" |
62 | | - type="date" |
63 | | - placeholder="Pick a day" |
64 | | - :size="size" outlined /></q-item-label> |
| 82 | + Date Picker |
| 83 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 84 | + <img alt="datepicker" src="../../../assets/datepicker.png" class="datepicker"> |
| 85 | + <q-icon name="keyboard_arrow_right"/> |
| 86 | + </q-tooltip> |
65 | 87 | </q-item-section> |
66 | 88 | </q-item> |
67 | 89 |
|
68 | 90 | <q-item clickable v-close-popup @click="pickComponent('e-slider')"> |
69 | 91 | <q-item-section> |
70 | | - <q-item-label>Slider <q-slider class="demo-slider" v-model="value1" color="blue" |
71 | | - outlined /></q-item-label> |
| 92 | + Slider |
| 93 | + <q-tooltip anchor="center right" self="center left" :offset="[10, 10]"> |
| 94 | + <img alt="slider" src="../../../assets/slider.png" class="slider"> |
| 95 | + <q-icon name="keyboard_arrow_right"/> |
| 96 | + </q-tooltip> |
72 | 97 | </q-item-section> |
73 | 98 | </q-item> |
74 | 99 |
|
@@ -128,4 +153,32 @@ import { mapState, mapActions } from "vuex"; |
128 | 153 | .demo-input{ |
129 | 154 | border: 1px solid white; |
130 | 155 | } |
| 156 | +.input-box{ |
| 157 | + width: 300px; |
| 158 | +} |
| 159 | +
|
| 160 | +.card{ |
| 161 | + width: 300px; |
| 162 | +} |
| 163 | +
|
| 164 | +.form{ |
| 165 | + width: 300px; |
| 166 | +} |
| 167 | +
|
| 168 | +.checkbox{ |
| 169 | + width: 130px; |
| 170 | +} |
| 171 | +
|
| 172 | +.checkboxbutton{ |
| 173 | + width: 500px; |
| 174 | +} |
| 175 | +
|
| 176 | +.datepicker{ |
| 177 | + width: 300px; |
| 178 | +} |
| 179 | +
|
| 180 | +
|
| 181 | +.slider{ |
| 182 | + width: 600px; |
| 183 | +} |
131 | 184 | </style> |
0 commit comments