Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
index.js
readme.js
readme.styl
test.html
test.js

README.md

ProgressBar

The ProgressBar component creates an updatable progress bar.

Demo

Example
Start Stop

Code

HTML

<tonic-progress-bar id="progress-bar-example">
</tonic-progress-bar>

Api

Properties

Property Type Description Default
width string Changes the width of the progress bar. 280px
height string Changes the height of the progress bar. 15px
color string Changes the color of the progress bar. --accent
theme string Adds a theme color (light, dark or whatever is defined in your base CSS. light

Instance Methods

Method Description
setProgress(number) Sets the progress (percentage).

Instance Members

Method Description
value A getter/setter that provides the current percentage value of the progress bar.