vue-scroll-progress 🎉
Simple Vue.js plugin for page scroll progress bar
![License](https://img.shields.io/npm/l/vue-scroll-progress.svg)
Live Demo
Installation
npm i vue-scroll-progress --save
yarn add vue-scroll-progress
CDNs
jsDelivr,
UNPKG,
bundle.run
Usage
main.js
import Vue from 'vue'
import VueScrollProgress from 'vue-scroll-progress'
Vue.use(VueScrollProgress)
Use in component
<template>
<VueScrollProgress></VueScrollProgress>
</template>
Set progress bar style, and customize as you want(Optional)
<style>
#progress-container-el {
background-color: transparent !important;
top: calc(100% - 4px) !important;
}
#progress-el {
background-color: red !important;
}
</style>
Author
Hyouk Seo(Spemer)