| 
 | 1 | +<script setup lang="ts">  | 
 | 2 | +useHead({  | 
 | 3 | +  title: 'Tab 4',  | 
 | 4 | +})  | 
 | 5 | +</script>  | 
 | 6 | + | 
1 | 7 | <template>  | 
2 | 8 |   <ion-page>  | 
3 | 9 |     <ion-header>  | 
 | 
32 | 38 |             <div class="red-square" />  | 
33 | 39 | 
 
  | 
34 | 40 |             <div class="buttons">  | 
35 |  | -              <IonButton @click="animation.play()">  | 
 | 41 | +              <IonButton @click="animation?.play()">  | 
36 | 42 |                 Play  | 
37 | 43 |               </IonButton>  | 
38 |  | -              <IonButton @click="animation.pause()">  | 
 | 44 | +              <IonButton @click="animation?.pause()">  | 
39 | 45 |                 Pause  | 
40 | 46 |               </IonButton>  | 
41 |  | -              <IonButton @click="animation.stop()">  | 
 | 47 | +              <IonButton @click="animation?.stop()">  | 
42 | 48 |                 Stop  | 
43 | 49 |               </IonButton>  | 
44 | 50 |             </div>  | 
 | 
64 | 70 |             <div class="blue-square" />  | 
65 | 71 | 
 
  | 
66 | 72 |             <div class="buttons">  | 
67 |  | -              <IonButton @click="animation.play()">  | 
 | 73 | +              <IonButton @click="animation?.play()">  | 
68 | 74 |                 Play  | 
69 | 75 |               </IonButton>  | 
70 |  | -              <IonButton @click="animation.pause()">  | 
 | 76 | +              <IonButton @click="animation?.pause()">  | 
71 | 77 |                 Pause  | 
72 | 78 |               </IonButton>  | 
73 |  | -              <IonButton @click="animation.stop()">  | 
 | 79 | +              <IonButton @click="animation?.stop()">  | 
74 | 80 |                 Stop  | 
75 | 81 |               </IonButton>  | 
76 | 82 |             </div>  | 
 | 
95 | 101 |             <div class="green-square" />  | 
96 | 102 | 
 
  | 
97 | 103 |             <div class="buttons">  | 
98 |  | -              <IonButton @click="animation.play()">  | 
 | 104 | +              <IonButton @click="animation?.play()">  | 
99 | 105 |                 Play  | 
100 | 106 |               </IonButton>  | 
101 |  | -              <IonButton @click="animation.pause()">  | 
 | 107 | +              <IonButton @click="animation?.pause()">  | 
102 | 108 |                 Pause  | 
103 | 109 |               </IonButton>  | 
104 |  | -              <IonButton @click="animation.stop()">  | 
 | 110 | +              <IonButton @click="animation?.stop()">  | 
105 | 111 |                 Stop  | 
106 | 112 |               </IonButton>  | 
107 | 113 |             </div>  | 
 | 
134 | 140 |             <div class="red-square" />  | 
135 | 141 | 
 
  | 
136 | 142 |             <div class="buttons">  | 
137 |  | -              <IonButton @click="animation.play()">  | 
 | 143 | +              <IonButton @click="animation?.play()">  | 
138 | 144 |                 Play  | 
139 | 145 |               </IonButton>  | 
140 |  | -              <IonButton @click="animation.pause()">  | 
 | 146 | +              <IonButton @click="animation?.pause()">  | 
141 | 147 |                 Pause  | 
142 | 148 |               </IonButton>  | 
143 |  | -              <IonButton @click="animation.stop()">  | 
 | 149 | +              <IonButton @click="animation?.stop()">  | 
144 | 150 |                 Stop  | 
145 | 151 |               </IonButton>  | 
146 | 152 |             </div>  | 
 | 
174 | 180 |             <div class="blue-square" />  | 
175 | 181 | 
 
  | 
176 | 182 |             <div class="buttons">  | 
177 |  | -              <IonButton @click="animation.play()">  | 
 | 183 | +              <IonButton @click="animation?.play()">  | 
178 | 184 |                 Play  | 
179 | 185 |               </IonButton>  | 
180 |  | -              <IonButton @click="animation.pause()">  | 
 | 186 | +              <IonButton @click="animation?.pause()">  | 
181 | 187 |                 Pause  | 
182 | 188 |               </IonButton>  | 
183 |  | -              <IonButton @click="animation.stop()">  | 
 | 189 | +              <IonButton @click="animation?.stop()">  | 
184 | 190 |                 Stop  | 
185 | 191 |               </IonButton>  | 
186 | 192 |             </div>  | 
 | 
208 | 214 |             <div class="green-square" />  | 
209 | 215 | 
 
  | 
210 | 216 |             <div class="buttons">  | 
211 |  | -              <IonButton @click="animation.play()">  | 
 | 217 | +              <IonButton @click="animation?.play()">  | 
212 | 218 |                 Play  | 
213 | 219 |               </IonButton>  | 
214 |  | -              <IonButton @click="animation.pause()">  | 
 | 220 | +              <IonButton @click="animation?.pause()">  | 
215 | 221 |                 Pause  | 
216 | 222 |               </IonButton>  | 
217 |  | -              <IonButton @click="animation.stop()">  | 
 | 223 | +              <IonButton @click="animation?.stop()">  | 
218 | 224 |                 Stop  | 
219 | 225 |               </IonButton>  | 
220 | 226 |             </div>  | 
 | 
0 commit comments