0.2.2 • Published 8 years ago

sqprogress v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Description

A running-around-browser-edge progress bar.

Demo

http://gztchan.github.io/SQProgress

Screenshot

Desktop

sreenshots-0

Mobile

sreenshot-1

Install

npm

npm install --save SQProgress

manual

Download and Import

Usage

Setup

SQProgress.setup({
  speed: 300,
  thick: '2px',
  color: '#F23234',
  opacity: 0.8
})

Invoke API

SQProgress.change(percent)

SQProgress.cancel()

SQProgress.done()

API

.setup(options)

  • options
    • color
    • thick
    • speed(ms)
    • opacity

.change(value)

The progress bar increase

  • value, How much you want the progress bar to increase

.cancel()

Set progress to zero percent

.done()

Set progress to 100%

(Float).getProgress()

Get current progress

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago