Skip to content

Latest commit

 

History

History
executable file
·
30 lines (22 loc) · 470 Bytes

README.md

File metadata and controls

executable file
·
30 lines (22 loc) · 470 Bytes

vue-sreveal

Vue wrapper for ScrollReveal. Easy scroll animations for web and mobile browsers.

Install

# npm
npm install --save vue-sreveal

Use

import VueScrollReveal from 'vue-sreveal';

Vue.use(VueScrollReveal);
<!-- In a component -->
<template>
  <main>
    <section v-scroll-reveal="{ delay: 2000 }">
      <h1>Hello World!</h1>
    </section>
  </main>
</template>