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

vue-radial-progress

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-radial-progress

A radial progress bar component for Vue.js

  • 0.2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.7K
decreased by-45.51%
Maintainers
2
Weekly downloads
 
Created
Source

vue-radial-progress npm package

A radial progress bar component for Vue.js. Uses SVG and javascript to animate a radial progress bar with a gradient.

Live Demo

Requirements

  • Vue.js ^1.0.0 (Compatible with Vue 1.0 or 2.0)
  • Module bundler: webpack

Installation

$ npm install vue-radial-progress

Usage

<template>
  <radial-progress-bar :diameter="200"
                       :completed-steps="completedSteps"
                       :total-steps="totalSteps">
   <p>Total steps: {{ totalSteps }}</p>
   <p>Completed steps: {{ completedSteps }}</p>
  </radial-progress-bar>
</template>

<script>
import RadialProgressBar from 'vue-radial-progress'

export default {
  data () {
    return {
      completedSteps: 0,
      totalSteps: 10
    }
  },

  components: {
    RadialProgressBar
  }
}
</script>

Props

diameter

Diameter of the progress bar circle in pixels. Default: 200

totalSteps

Total number of steps.

completedSteps

Number of steps in the progress that have been completed.

startColor

Start color of the progress bar gradient. Default: #bbff42

stopColor

Stop color of the progress bar gradient. Default: #429321

innerStrokeColor

Color of the background of the progress bar. Default: #323232

strokeWidth

The width of the progress bar. Default: 10

animateSpeed

The amount of time in milliseconds to animate one step. Default: 1000

fps

The frames per second that the animation should run. Default: 60

Lint

npm run lint

Dev

npm run dev

License

The MIT License

Keywords

FAQs

Package last updated on 29 Jan 2017

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