Socket
Socket
Sign inDemoInstall

vueprogressionbar

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

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.


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

Readme

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

Last updated on 05 Aug 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc