A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/spemer/vue-scroll-progress below:

spemer/vue-scroll-progress: 🎉 Page scroll progress bar component for @vuejs

Simple Vue.js plugin for page scroll progress bar

Live Demo

npm i vue-scroll-progress --save
yarn add vue-scroll-progress

jsDelivr, UNPKG, bundle.run

// YourComponent.vue or main.js for global usage
import Vue from "vue";
import VueScrollProgress from "vue-scroll-progress";

Vue.use(VueScrollProgress);
<!-- .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>

Hyouk Seo(Spemer)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4