Customize The Scrolling Position On Route Navigation | vue-scroll-behavior


vue-scroll-behavior allows you to customize the position of the scroll on route navigation. Especially hash mode to tell it the ways to process it, and it will do it automatically.

smooth scroll javascript, scroll animation js, javascript animate scroll to element, scroll behavior smooth not working, css scroll behavior, animate on scroll javascript library

How to make use of it:


npm install vue-scroll-behavior --save
import vueScrollBehavior from 'vue-scroll-behavior'

Vue.use(vueScrollBehavior, { router: router })

If you are using Vue globally, just include vue-scroll-behavior.js and it will install it automatically.

<script src="path/to/vue-scroll-behavior.js"></script>


Customized Scroll Behavior, vue scroll behavior Plugin/Github

See Demo And Download

Official Website(jeneser): Click Here

This superior jQuery/javascript plugin is developed by jeneser. For extra advanced usage, please go to the official website.