|
5 | 5 | <br><br> |
6 | 6 |
|
7 | 7 | <q-stepper :color="color" flat ref="stepper" v-model="step" :alternative-labels="alt"> |
8 | | - <q-step :order="2" default name="first" title="Ad style"> |
| 8 | + <q-step default name="first" title="Ad style"> |
9 | 9 | <div v-for="n in 10">Step 1</div> |
10 | 10 | <q-stepper-navigation> |
11 | 11 | <q-btn :color="color" @click="$refs.stepper.next()">Continue</q-btn> |
12 | 12 | </q-stepper-navigation> |
13 | 13 | </q-step> |
14 | | - <q-step :order="5" error title="Custom channels" subtitle="Alert message"> |
| 14 | + <q-step error title="Custom channels" subtitle="Alert message"> |
15 | 15 | <div v-for="n in 10">Step 2</div> |
16 | 16 | <q-stepper-navigation> |
17 | 17 | <q-btn :color="color" @click="$refs.stepper.next()">Next</q-btn> |
18 | 18 | <q-btn :color="color" flat @click="$refs.stepper.previous()">Back</q-btn> |
19 | 19 | </q-stepper-navigation> |
20 | 20 | </q-step> |
21 | | - <q-step :order="4" title="Get code"> |
| 21 | + <q-step title="Get code"> |
22 | 22 | <div v-for="n in 3">Step 3</div> |
23 | 23 | <q-stepper-navigation> |
24 | 24 | <q-btn :color="color" @click="$refs.stepper.next()">Next</q-btn> |
25 | 25 | <q-btn :color="color" flat @click="$refs.stepper.previous()">Back</q-btn> |
26 | 26 | </q-stepper-navigation> |
27 | 27 | </q-step> |
28 | | - <q-step :order="3" name="fifth" disable title="Disabled"> |
| 28 | + <q-step name="fifth" disable title="Disabled"> |
29 | 29 | <div v-for="n in 3">Step 4</div> |
30 | 30 | <q-stepper-navigation> |
31 | 31 | <q-btn :color="color" @click="$refs.stepper.next()">Next</q-btn> |
32 | 32 | <q-btn :color="color" flat @click="$refs.stepper.previous()">Back</q-btn> |
33 | 33 | </q-stepper-navigation> |
34 | 34 | </q-step> |
35 | | - <q-step :order="1" name="fourth" title="Editable"> |
| 35 | + <q-step name="fourth" title="Editable"> |
36 | 36 | <div v-for="n in 3">Step 5</div> |
37 | 37 | <q-stepper-navigation> |
38 | 38 | <q-btn :color="color" @click="$refs.stepper.goToStep('first')">Restart</q-btn> |
|
49 | 49 | <br><br> |
50 | 50 |
|
51 | 51 | <q-stepper ref="stepper2" :color="color" v-model="step2" :alternative-labels="alt" vertical> |
52 | | - <q-step :order="2" default name="first" title="Ad style"> |
| 52 | + <q-step default name="first" title="Ad style"> |
53 | 53 | <div v-for="n in 10">Step 1</div> |
54 | 54 | <q-stepper-navigation> |
55 | 55 | <q-btn :color="color" @click="$refs.stepper2.next()">Continue</q-btn> |
56 | 56 | </q-stepper-navigation> |
57 | 57 | </q-step> |
58 | | - <q-step :order="5" error title="Custom channels" subtitle="Alert message"> |
| 58 | + <q-step error title="Custom channels" subtitle="Alert message"> |
59 | 59 | <div v-for="n in 10">Step 2</div> |
60 | 60 | <q-stepper-navigation> |
61 | 61 | <q-btn :color="color" @click="$refs.stepper2.next()">Next</q-btn> |
62 | 62 | <q-btn :color="color" flat @click="$refs.stepper2.previous()">Back</q-btn> |
63 | 63 | </q-stepper-navigation> |
64 | 64 | </q-step> |
65 | | - <q-step :order="4" title="Get code"> |
| 65 | + <q-step title="Get code"> |
66 | 66 | <div v-for="n in 3">Step 3</div> |
67 | 67 | <q-stepper-navigation> |
68 | 68 | <q-btn :color="color" @click="$refs.stepper2.next()">Next</q-btn> |
69 | 69 | <q-btn :color="color" flat @click="$refs.stepper2.previous()">Back</q-btn> |
70 | 70 | </q-stepper-navigation> |
71 | 71 | </q-step> |
72 | | - <q-step :order="3" name="fifth" disable title="Disabled"> |
| 72 | + <q-step name="fifth" disable title="Disabled"> |
73 | 73 | <div v-for="n in 3">Step 4</div> |
74 | 74 | <q-stepper-navigation> |
75 | 75 | <q-btn :color="color" @click="$refs.stepper2.next()">Next</q-btn> |
76 | 76 | <q-btn :color="color" flat @click="$refs.stepper2.previous()">Back</q-btn> |
77 | 77 | </q-stepper-navigation> |
78 | 78 | </q-step> |
79 | | - <q-step :order="1" name="fourth" title="Editable"> |
| 79 | + <q-step name="fourth" title="Editable"> |
80 | 80 | <div v-for="n in 3">Step 5</div> |
81 | 81 | <q-stepper-navigation> |
82 | 82 | <q-btn :color="color" @click="$refs.stepper2.goToStep('first')">Restart</q-btn> |
|
0 commit comments