vue-scroll-up
A Vue.js component scrolls to the top of the page.

Installation
Get from npm / yarn:
or
just include vue-scroll-up.js to your view like
Usage
Use this inside your app:
With Default CSS
or
just include style.css
The scroll button class name is vue-scroll-up
HTML
Props
Property | Type | Default Value | Description |
---|---|---|---|
scroll-duration | Number | 1000 | Page to top speed. |
scroll-y | Number | 250 | Show button when scrollY equals a number. |