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

vue-read-progress

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-read-progress

Customizable progress bar at the top ot the page that shows the scroll progress

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-read-progress

Vue.js plugin for scroll position with a progress bar indicator

NPM version NPM downloads Size twitter donate

Demo

https://ajerez.github.io/vue-read-progress/

Installation

npm i vue-read-progress
yarn
yarn add vue-read-progress

Usage

Default style
<template>
  <vue-read-progress></vue-read-progress>
  <!-- Your page content -->
</template>

<script>
  import VueReadProgress from "vue-read-progress";

  export default {
    components: {
      VueReadProgress
    }
  };
</script>
Customizing the Look and Feel
<template>
  <vue-read-progress color="#32AAEA" opacity="0.5" height="10px" :shadow="true"></vue-read-progress>
  <!-- Your page content -->
</template>

<script>
  import VueReadProgress from "vue-read-progress";

  export default {
    components: {
      VueReadProgress
    }
  };
</script>

Available Options (All optional)

PropertyTypeDefault valueProp Description
heightString4pxHeight of progress bar (optional)
colorString#506888Color of progress bar (optional)
opacity[String, Number]1Set opacity values from 0 to 1 (optional)
shadowBooleanfalseEnable box-shadow for the progress bar (optional)

License

This project is licensed under the terms of the MIT license

Keywords

FAQs

Package last updated on 08 May 2019

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