0.5.4 • Published 9 years ago

compo-round-progress v0.5.4

Weekly downloads
3
License
-
Repository
github
Last release
9 years ago

RoundProgress Component

Build Status Bower version

RoundProgress;

A div control with display: table flow. Show canvas-drawed round progress with optional @title placeholder in the center.

Attributes

AttributeDefaultDescription
width200Size of the panel, same value is also used for the height
percent50
line-width15Size of the line
line-caproundLineCap
line-colorcyanForeground line color, which represents the percentage
bg-line-color#efefefBackground line color

Animation

Refer to Mask Component Attribute Animation

Sample:

RoundProgress percent-transition='200ms easeInSine';

Examples

# install atma toolkit
npm install atma -g
# run examples static server
npm run examples

# navigate `http://localhost:5777/examples/index.html`

Test

npm test

:copyright: MIT