forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWithDropdown.vue
More file actions
47 lines (45 loc) · 1.74 KB
/
WithDropdown.vue
File metadata and controls
47 lines (45 loc) · 1.74 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
<template>
<div class="q-pa-md">
<q-toolbar class="bg-primary text-white q-my-md shadow-2">
<q-btn flat round dense icon="menu" class="q-mr-sm" />
<q-separator dark vertical inset />
<q-btn stretch flat label="Link" />
<q-space />
<q-btn-dropdown stretch flat label="Dropdown">
<q-list>
<q-item-label header>Folders</q-item-label>
<q-item v-for="n in 3" :key="`x.${n}`" clickable v-close-popup tabindex="0">
<q-item-section avatar>
<q-avatar icon="folder" color="secondary" text-color="white" />
</q-item-section>
<q-item-section>
<q-item-label>Photos</q-item-label>
<q-item-label caption>February 22, 2016</q-item-label>
</q-item-section>
<q-item-section side>
<q-icon name="info" />
</q-item-section>
</q-item>
<q-separator inset spaced />
<q-item-label header>Files</q-item-label>
<q-item v-for="n in 3" :key="`y.${n}`" clickable v-close-popup tabindex="0">
<q-item-section avatar>
<q-avatar icon="assignment" color="primary" text-color="white" />
</q-item-section>
<q-item-section>
<q-item-label>Vacation</q-item-label>
<q-item-label caption>February 22, 2016</q-item-label>
</q-item-section>
<q-item-section side>
<q-icon name="info" />
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<q-separator dark vertical />
<q-btn stretch flat label="Link" />
<q-separator dark vertical />
<q-btn stretch flat label="Link" />
</q-toolbar>
</div>
</template>