Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vueprogressionbar

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueprogressionbar

Progression bar shows how much the user scrolled (progressed) from the beginning of the page.

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Vue Progression Bar

Progression bar shows how much the user scrolled (progressed) from the beginning of the page.

Installation

To install this package, use npm:

npm i vueprogressionbar --save

Usage

Default example:

<template>
  <div id="app">
    <ProgressBar/>
  </div>
</template>

<script>

import ProgressBar from 'vueprogressionbar'
export default {
  name: 'App',
  components: {
    ProgressBar
  }
}
</script>

Options

There are 3 options you can chose from:

  • Option 1: rounded - rounded bar edges (false by default) Imgur
 <ProgressBar rounded/>
  • Option 2: size (medium by default):
 <ProgressBar size="[small-big]"/>

small (5px height) img medium (7px) img big (10px) img

  • Option 3: color (blueish by default - #76ceff) Ex:
 <ProgressBar color="red"/>

CSS

.progress-bar-container{
    width: 100%;
    position: fixed;
}
.progress-bar{
    height: 100%;
    background-color: #76ceff;
    transition: 0.1s ease;
}
.progress-bar--small{
    height: 5px;
}
.progress-bar--medium{
    height: 7px;
}
.progress-bar--big{
    height: 10px;
}
.progress-bar--rounded{
    border-radius: 5px;
}

Gif example

gif

FAQs

Package last updated on 05 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc