File: smoothProgressBar.js

Recommend this page to a friend!
  Classes of Manuel Lemos   Smooth Progress Bar   smoothProgressBar.js  
File: smoothProgressBar.js
Role: Class source
Content type: text/plain
Description: Smooth progress bar object
Class: Smooth Progress Bar
Progress bar that updates its size smoothly
Author: By
Last change: Fixed the reported current progress when calling the onProgress callback
when it reached the target.
Made the progress bar approach smoothly the target position within a given
animation duration time.
Fixed the retrieval of the element padding.
Fixed the retrieval of element padding on Opera.
Fixed lint complaints.
Added support to set the text that shows how much is remaining to
completion.
Made the progress bar progress value be updated while the progress bar
increases.
Added support to define the container element of the progress bar.
Added support to invoke a callback function when the bar reaches the target
progress.
Made the progress bar speed configurable.
Fixed JSHint complaints.
Renamed the class and Style variables to containerClass and containerStyle.
Date: 10 years ago
Size: 9,635 bytes

You need to be a registered user and login to get this file.

26,119 JavaScript developers registered to the JS Classes site.
Be One of Us!

Login Immediately with your account on: