How to use the scrollreveal.reveal function in scrollreveal

To help you get started, we’ve selected a few scrollreveal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DivanteLtd / vue-storefront / src / themes / catalog / pages / Product.vue View on Github external
mounted () {
    require('scrollreveal')().reveal('.animate', {
      distance: 0,
      scale: 0.8,
      duration: 600,
      viewFactor: 0.5
    })
  },
  watch: {
github DivanteLtd / vue-storefront / src / themes / catalog / pages / Home.vue View on Github external
mounted () {
    require('scrollreveal')().reveal('.animate', {
      distance: 0,
      scale: 0.8,
      duration: 600
    })
  },
  components: {

scrollreveal

Animate elements as they scroll into view

GPL-3.0
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis