]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
[autofix.ci] apply automated fixes
authorautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Fri, 7 Mar 2025 03:11:53 +0000 (03:11 +0000)
committerGitHub <noreply@github.com>
Fri, 7 Mar 2025 03:11:53 +0000 (03:11 +0000)
packages-private/vapor-e2e-test/transition/App.vue
packages-private/vapor-e2e-test/transition/components/VdomComp.vue

index 83061a60334736d398fa9accaa8bf1e4ff312975..057bb0a229e927693c513880295853b27616aede 100644 (file)
@@ -34,11 +34,18 @@ function toggleInteropComponent() {
   </div>
   <div class="vif">
     <button @click="toggle = !toggle">Toggle</button>
-    <Transition appear @beforeEnter="() => calls.push('beforeEnter')" @enter="() => calls.push('onEnter')"
-      @afterEnter="() => calls.push('afterEnter')" @beforeLeave="() => calls.push('beforeLeave')"
-      @leave="() => calls.push('onLeave')" @afterLeave="() => calls.push('afterLeave')"
-      @beforeAppear="() => calls.push('beforeAppear')" @appear="() => calls.push('onAppear')"
-      @afterAppear="() => calls.push('afterAppear')">
+    <Transition
+      appear
+      @beforeEnter="() => calls.push('beforeEnter')"
+      @enter="() => calls.push('onEnter')"
+      @afterEnter="() => calls.push('afterEnter')"
+      @beforeLeave="() => calls.push('beforeLeave')"
+      @leave="() => calls.push('onLeave')"
+      @afterLeave="() => calls.push('afterLeave')"
+      @beforeAppear="() => calls.push('beforeAppear')"
+      @appear="() => calls.push('onAppear')"
+      @afterAppear="() => calls.push('afterAppear')"
+    >
       <h1 v-if="toggle">vIf</h1>
     </Transition>
   </div>
@@ -73,7 +80,9 @@ function toggleInteropComponent() {
     </div>
   </div>
   <div class="vdom-vapor-out-in">
-    <button @click="toggleInteropComponent">switch between vdom/vapor component out-in mode</button>
+    <button @click="toggleInteropComponent">
+      switch between vdom/vapor component out-in mode
+    </button>
     <div>
       <Transition name="fade" mode="out-in">
         <component :is="interopComponent"></component>
@@ -81,7 +90,9 @@ function toggleInteropComponent() {
     </div>
   </div>
   <div class="vdom-vapor-in-out">
-    <button @click="toggleVdom = !toggleVdom">switch between vdom/vapor component in-out mode</button>
+    <button @click="toggleVdom = !toggleVdom">
+      switch between vdom/vapor component in-out mode
+    </button>
     <div>
       <Transition name="fade" mode="in-out">
         <VaporCompA v-if="toggleVdom" />
index 1cda5cdb3ec7fe6a7f09982a487d3fc1a0683c17..009ca229a5ae709f35fb8e194f9bf3deb9f44f16 100644 (file)
@@ -2,5 +2,5 @@
 const msg = 'vdom comp'
 </script>
 <template>
-    <div>{{ msg }}</div>
+  <div>{{ msg }}</div>
 </template>