Socket
Socket
Sign inDemoInstall

vue-css-percentage-circle

Package Overview
Dependencies
11
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-css-percentage-circle

VueJS Powered css-percentage-circle


Version published
Weekly downloads
222
increased by37.04%
Maintainers
1
Install size
133 kB
Created
Weekly downloads
 

Changelog

Source

2.0.0 (2020-06-04)

build

  • package: bump css-percentage-circle to 2.0 (f9f7c2e)

BREAKING CHANGES

  • package: bump css-percentage-circle to 2.0

<a name="1.1.3"></a>

Readme

Source

vue-css-percentage-circle

Vue CSS Percentage Circle

Getting Started

npm install --save vue-css-percentage-circle

Usage

<PercentageCircle :percent="50" />
Theming
<PercentageCircle :percent="50" active-color="blue" complete-color="green"/>
<PercentageCircle :percent="50" active-color="green" complete-color="orange"/>
<PercentageCircle :percent="50" active-color="orange" complete-color="blue"/>
Animated
<PercentageCircle :percent="50" :animate="true"/>
Dark Mode
<PercentageCircle :percent="50" :dark-mode="true" />

API

percentage-circle

props
  • percent Number (optional)

    Percentage of progress (0-100)

  • size String (optional) default: 'small'

    Size of percentage circle [micro, small, medium, large, huge]

  • active-color String (optional) default: 'blue'

    Color when active. [blue, green, orange]

  • complete-color String (optional) default: ''

    Color when complete. [blue, green, orange]

  • animate Boolean (optional) default: false

    Animate percentage changes.

  • refresh-rate Number (optional) default: 5

    Only applicable when animated is set to true. Speed in which animation changes happen

  • dark-mode Boolean (optional) default: false

    Toggle between normal and dark themes

events
  • click

    Click event.

Testing

Storybook used for testing. To run storybook, run:

npm run dev

or

npm run storybook

Keywords

FAQs

Last updated on 04 Jun 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