JSPM

vue-staged-transition

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q15415F
  • License MIT

Simple Vue Component to perform stage delayed transitions.

Package Exports

  • vue-staged-transition

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-staged-transition) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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>