You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<q-btn@click="$router.push('/layout-quick/a')">Go to A</q-btn>
55
61
<q-btn@click="$router.push('/layout-quick/b')">Go to B</q-btn>
@@ -64,26 +70,147 @@
64
70
</q-scroll-area>
65
71
</q-layout-drawer>
66
72
73
+
/*
74
+
@mouseover="rightMini = false"
75
+
@mouseout="rightMini = true"
76
+
...or
77
+
@click.capture="e => {
78
+
if (rightMini) {
79
+
rightMini = false
80
+
e.preventDefault()
81
+
e.stopPropagation()
82
+
}
83
+
}"
84
+
*/
67
85
<q-page-container>
68
86
<q-layout-drawer
69
87
side="right"
88
+
:mini="rightMini"
89
+
@click.capture="e => {
90
+
if (rightMini) {
91
+
rightMini = false
92
+
e.preventDefault()
93
+
e.stopPropagation()
94
+
}
95
+
}"
70
96
v-model="right"
71
97
:overlay="rightOverlay"
72
98
:behavior="rightBehavior"
73
99
:breakpoint="rightBreakpoint"
74
-
content-class="bg-orange-3 q-pa-sm"
75
100
:content-style="{'font-size': '16px'}"
76
101
>
77
-
<q-btn@click="$router.push('/layout-quick/a')">Go to A</q-btn>
78
-
<q-btn@click="$router.push('/layout-quick/b')">Go to B</q-btn>
79
-
<q-btn@click="$router.push('/layout-quick/c')">Go to C</q-btn>
80
-
81
-
<br><br>
102
+
<!--
103
+
<div slot="mini">
104
+
<q-btn
105
+
class="q-mini-drawer-hide"
106
+
icon="keyboard_arrow_right"
107
+
@click="goMini"
108
+
/>
109
+
<div>mini</div>
110
+
</div>
111
+
-->
112
+
<q-btn
113
+
class="q-mini-drawer-hide"
114
+
icon="keyboard_arrow_right"
115
+
@click="rightMini = true"
116
+
/>
117
+
<divclass="q-mini-drawer-hide">Maxi only</div>
118
+
<divclass="q-mini-drawer-only">Mini only</div>
119
+
<q-collapsible
120
+
icon="perm_identity"
121
+
label="With a model and events"
122
+
>
123
+
<div>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Esse, fuga voluptatem! Debitis, numquam! Velit excepturi harum sint explicabo, rerum dolores illum nihil aperiam praesentium, consectetur delectus sapiente in sed provident.</div>
0 commit comments