You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
372 B
Vue
29 lines
372 B
Vue
3 years ago
|
<template>
|
||
|
<div class="arrow">
|
||
|
→
|
||
|
<transition name="bounce" mode="out-in">
|
||
|
<span :key="animate">🎈</span>
|
||
|
</transition>
|
||
|
→
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
animate: {
|
||
|
type: Number,
|
||
|
default: 0,
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.arrow {
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
font-size: 72px;
|
||
|
}
|
||
|
</style>
|