0.0.1 • Published 11 months ago
@zrook/vue-transition-move v0.0.1
@zrook/vue-transition-move
pnpm add @zrook/vue-transition-move
<script setup lang="ts" >
import Move from '@zrook/vue-transition-move'
import '@zrook/vue-transition-move/style'
</script>
<template>
...
<Move>
<div v-if="isShow" class="h-50 w-50 bg-red"> </div>
</Move>
...
</template>
Props
- direction
- desc: movement
- type:
x | y
- default:
x
- reverse:
- desc: Whether to reverse
- type:
boolean
- default:
false
0.0.1
11 months ago