|
113 | 113 | </q-btn-group> |
114 | 114 |
|
115 | 115 | <div v-for="push in options" :key="push"> |
116 | | - <template v-if="!push || !flat"> |
117 | | - <div v-for="flat in options" :key="flat"> |
118 | | - <template v-if="!(push || flat) || !outline"> |
119 | | - <div v-for="outline in options" :key="outline"> |
120 | | - <div v-for="rounded in options" :key="rounded"> |
121 | | - <div v-for="size in sizes" :key="size" class="q-ma-sm"> |
122 | | - <p class="caption"> |
123 | | - {{ push ? 'push ' : '' }} |
124 | | - {{ rounded ? 'rounded ' : '' }} |
125 | | - {{ outline ? 'outline ' : '' }} |
126 | | - {{ flat ? 'flat ' : '' }} |
127 | | - {{ size }} |
128 | | - </p> |
129 | | - <q-btn-group :push="push" :rounded="rounded" :outline="outline" :flat="flat"> |
130 | | - <q-btn color="yellow" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
131 | | - First |
132 | | - </q-btn> |
133 | | - <q-btn color="amber" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
134 | | - Second |
135 | | - </q-btn> |
136 | | - <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
137 | | - Third |
138 | | - </q-btn> |
139 | | - </q-btn-group> |
140 | | - |
141 | | - <q-btn-group :push="push" :rounded="rounded" :outline="outline" :flat="flat"> |
142 | | - <q-btn color="yellow" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
143 | | - First |
144 | | - </q-btn> |
145 | | - <q-btn color="amber" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
146 | | - Second |
147 | | - </q-btn> |
148 | | - <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
149 | | - Third |
150 | | - </q-btn> |
151 | | - </q-btn-group> |
152 | | - |
153 | | - <q-btn-group :push="push" :rounded="rounded" :outline="outline" style="margin-left: 2em;"> |
154 | | - <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
155 | | - First |
156 | | - </q-btn> |
157 | | - <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
158 | | - Second |
159 | | - </q-btn> |
160 | | - |
161 | | - <q-separator vertical /> |
162 | | - |
163 | | - <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
164 | | - Separated |
165 | | - </q-btn> |
166 | | - </q-btn-group> |
167 | | - </div> |
168 | | - </div> |
| 116 | + <div v-for="flat in options" :key="flat"> |
| 117 | + <div v-for="outline in options" :key="outline"> |
| 118 | + <div v-for="rounded in options" :key="rounded"> |
| 119 | + <div v-for="size in sizes" :key="size" class="q-ma-sm"> |
| 120 | + <p class="caption"> |
| 121 | + {{ push ? 'push ' : '' }} |
| 122 | + {{ rounded ? 'rounded ' : '' }} |
| 123 | + {{ outline ? 'outline ' : '' }} |
| 124 | + {{ flat ? 'flat ' : '' }} |
| 125 | + {{ size }} |
| 126 | + </p> |
| 127 | + <q-btn-group :push="push" :rounded="rounded" :outline="outline" :flat="flat"> |
| 128 | + <q-btn color="yellow" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 129 | + First |
| 130 | + </q-btn> |
| 131 | + <q-btn color="amber" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 132 | + Second |
| 133 | + </q-btn> |
| 134 | + <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 135 | + Third |
| 136 | + </q-btn> |
| 137 | + </q-btn-group> |
| 138 | + |
| 139 | + <q-btn-group :push="push" :rounded="rounded" :outline="outline" :flat="flat"> |
| 140 | + <q-btn color="yellow" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
| 141 | + First |
| 142 | + </q-btn> |
| 143 | + <q-btn color="amber" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
| 144 | + Second |
| 145 | + </q-btn> |
| 146 | + <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size" disable> |
| 147 | + Third |
| 148 | + </q-btn> |
| 149 | + </q-btn-group> |
| 150 | + |
| 151 | + <q-btn-group :push="push" :rounded="rounded" :outline="outline" style="margin-left: 2em;"> |
| 152 | + <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 153 | + First |
| 154 | + </q-btn> |
| 155 | + <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 156 | + Second |
| 157 | + </q-btn> |
| 158 | + |
| 159 | + <q-separator vertical /> |
| 160 | + |
| 161 | + <q-btn color="orange" :push="push" :rounded="rounded" :outline="outline" :flat="flat" :size="size"> |
| 162 | + Separated |
| 163 | + </q-btn> |
| 164 | + </q-btn-group> |
169 | 165 | </div> |
170 | | - </template> |
| 166 | + </div> |
171 | 167 | </div> |
172 | | - </template> |
| 168 | + </div> |
173 | 169 | </div> |
174 | 170 | </div> |
175 | 171 | </template> |
|
0 commit comments