Skip to content

Commit d5d8ada

Browse files
[autofix.ci] apply automated fixes
1 parent 26d1d21 commit d5d8ada

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

packages-private/vapor-e2e-test/transition/App.vue

+18-7
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,18 @@ function toggleInteropComponent() {
3434
</div>
3535
<div class="vif">
3636
<button @click="toggle = !toggle">Toggle</button>
37-
<Transition appear @beforeEnter="() => calls.push('beforeEnter')" @enter="() => calls.push('onEnter')"
38-
@afterEnter="() => calls.push('afterEnter')" @beforeLeave="() => calls.push('beforeLeave')"
39-
@leave="() => calls.push('onLeave')" @afterLeave="() => calls.push('afterLeave')"
40-
@beforeAppear="() => calls.push('beforeAppear')" @appear="() => calls.push('onAppear')"
41-
@afterAppear="() => calls.push('afterAppear')">
37+
<Transition
38+
appear
39+
@beforeEnter="() => calls.push('beforeEnter')"
40+
@enter="() => calls.push('onEnter')"
41+
@afterEnter="() => calls.push('afterEnter')"
42+
@beforeLeave="() => calls.push('beforeLeave')"
43+
@leave="() => calls.push('onLeave')"
44+
@afterLeave="() => calls.push('afterLeave')"
45+
@beforeAppear="() => calls.push('beforeAppear')"
46+
@appear="() => calls.push('onAppear')"
47+
@afterAppear="() => calls.push('afterAppear')"
48+
>
4249
<h1 v-if="toggle">vIf</h1>
4350
</Transition>
4451
</div>
@@ -73,15 +80,19 @@ function toggleInteropComponent() {
7380
</div>
7481
</div>
7582
<div class="vdom-vapor-out-in">
76-
<button @click="toggleInteropComponent">switch between vdom/vapor component out-in mode</button>
83+
<button @click="toggleInteropComponent">
84+
switch between vdom/vapor component out-in mode
85+
</button>
7786
<div>
7887
<Transition name="fade" mode="out-in">
7988
<component :is="interopComponent"></component>
8089
</Transition>
8190
</div>
8291
</div>
8392
<div class="vdom-vapor-in-out">
84-
<button @click="toggleVdom = !toggleVdom">switch between vdom/vapor component in-out mode</button>
93+
<button @click="toggleVdom = !toggleVdom">
94+
switch between vdom/vapor component in-out mode
95+
</button>
8596
<div>
8697
<Transition name="fade" mode="in-out">
8798
<VaporCompA v-if="toggleVdom" />

packages-private/vapor-e2e-test/transition/components/VdomComp.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
const msg = 'vdom comp'
33
</script>
44
<template>
5-
<div>{{ msg }}</div>
5+
<div>{{ msg }}</div>
66
</template>

0 commit comments

Comments
 (0)