Closed samuveth closed 1 year ago
Released in v0.8.0
Use named transition classes to define transition styles:
<Float transition-name="fade">
Then you can be add the classes:
<style>
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
</style>
@ycs77 that was fast :)
It would be great if it was possible to use transition name instead of having to repeat all my transition styling each time I use Float.
Example of how I usually do it in Vue: