1.1.5 • Published 5 years ago
vue-scroll-progress v1.1.5
vue-scroll-progress 🎉
Simple Vue.js plugin for page scroll progress bar
Installation
npm i vue-scroll-progress --saveyarn add vue-scroll-progressCDNs
Usage
main.js
// YourComponent.vue or main.js for global usage
import Vue from "vue";
import VueScrollProgress from "vue-scroll-progress";
Vue.use(VueScrollProgress);Use in component
<!-- .vue template -->
<template>
<VueScrollProgress></VueScrollProgress>
</template>Set progress bar style, and customize as you want(Optional)
<style>
/* play with some lines below */
#progress-container-el {
/* background */
background-color: transparent !important;
top: calc(100% - 4px) !important; /* remove if Vue 3.x */
}
#progress-el {
/* progress bar */
background-color: red !important;
}
</style>Author
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago