0.1.0 • Published 4 years ago

vue-scroll-buffer v0.1.0

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

vue-scroll-buffer

provide a buffer animation when the screen is scrolled

Installation

vue-scroll-buffer is available via npm.

npm install vue-scroll-buffer

Basic usage

in App.vue

<script>
import BufferAnimation from 'vue-scroll-buffer'
export default {
  mounted() {
    BufferAnimation(10)
  }
};
</script>

Configuration

wrapperSpeed

Change the duration of the buffered animation. (default: 10)

Optional value: 1~20

The smaller the value, the longer the animation time

BufferAnimation(10)

Preview

Preview

On the right is the effect with animation added