1.1.0 • Published 3 years ago

vue-staged-transition v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

vue-staged-transition

Simple Vue Component to perform stage delayed transitions.

Usage

<template>
  <vue-staged-transition :styles="transitionStyles" appear mode="out-in" :delay="500">
    <template v-for="product in products">
      <product-card :product="product" :key="product.slug">
    </template>
  </vue-staged-transition>
</template>

<script>
import VueStagedTransition from 'vue-staged-transition'

export default {
  components: { VueStagedTransition },
  data(){
    return{
      transitionStyles: [
        {
          opacity: 0
        },

        {
          opacity: 1
        }
      ]
    }
  }
}
</script>