Skip to content

Commit a242876

Browse files
committed
chore: Directives showcase for playground
1 parent a698459 commit a242876

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<template>
2+
<div class="q-pa-md">
3+
<q-list
4+
bordered
5+
separator
6+
style="max-width: 318px"
7+
>
8+
<q-item
9+
v-ripple
10+
clickable
11+
>
12+
<q-item-section>Single line item</q-item-section>
13+
</q-item>
14+
15+
<q-item
16+
v-ripple
17+
clickable
18+
>
19+
<q-item-section>
20+
<q-item-label>Item with caption</q-item-label>
21+
<q-item-label caption>
22+
Caption
23+
</q-item-label>
24+
</q-item-section>
25+
</q-item>
26+
27+
<q-item
28+
v-ripple
29+
clickable
30+
>
31+
<q-item-section>
32+
<q-item-label overline>
33+
OVERLINE
34+
</q-item-label>
35+
<q-item-label>Item with caption</q-item-label>
36+
</q-item-section>
37+
</q-item>
38+
</q-list>
39+
</div>
40+
</template>

playground/pages/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,9 @@ const buttons: QBtnProps[] = [
103103
/>
104104
</q-item>
105105
</q-list>
106+
<p class="text-h6 q-pt-md">
107+
Directive Showcase
108+
</p>
109+
<example-list />
106110
</q-page>
107111
</template>

0 commit comments

Comments
 (0)