Socket
Socket
Sign inDemoInstall

k-progress

Package Overview
Dependencies
11
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    k-progress

> A Vue plugin, linear progress bar.


Version published
Weekly downloads
772
increased by18.04%
Maintainers
1
Install size
4.02 MB
Created
Weekly downloads
 

Readme

Source

🌈 k-progress

A Vue plugin, linear progress bar.

English | 简体中文

📚 Course

k-progress

📦 Install

npm install -S k-progress
# or
yarn add k-progress

🔨 Begin Start

// main.js
import KProgress from 'k-progress';
Vue.component('k-progress', KProgress);

📔 Attributes

AttributeTypeDefaultOptionalexplain
percentNumber00-100Percent (Required)
line-heightNumber6Progress bar height
typeStringlineline / lumpProgress bar type
statusStringsuccess / warning / errorProgress bar status
colorString / Array / FunctionProgress bar color; When using Array, the limit is 6; When using Function, the argument is percent
color-flowBooleanfalseWhether to enable color flow
flow-secondNumber51-6The time required for the flow, that is, the smaller the time, the faster the speed
bg-colorString#ebeef5Color codeProgress bar background color
borderBooleantrueWhether arc
show-textBooleantrueWhether to show progress bar text
formatFunctionCustom text display, parameter is percent
cut-widthNumber1lump width
cut-colorString#ebeef5Color codelump color
activeBooleanfalseWhether to enable dynamic effects
active-colorStringDynamic effect color

📒 ChangeLog

ChangeLog

🖊 Thanks

Thank you for using, if you find some problems, welcome to correct!

  • Issues
  • PR

LICENSE

MIT

Keywords

FAQs

Last updated on 07 Jan 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