8000 GitHub - kashiraja/xhr-progress: A GitHub inspired progress bar for XHR/AJAX requests
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kashiraja/xhr-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xhr-progress.js

A minimalist progress bar for XHR/AJAX requests that uses same styling as GitHub progress bar.

Demo

This demo shows how it is possible to use xhr-progress.js in a panel as part of an admin dashboard.

Options

  • parent: Parent element
  • height: Height [px]
  • color: Color of progress bar
  • colorFailed: Color of progress bar if failed()
  • style: Box shadow style of bar
  • styleFailed: Box shadow style of bar
  • paddingTop: Add some whitespace above the progress bar [px]
  • fadeOutDuration: Once complete, fade out the progress bar during given interval [ms]

Acknowledgments

  • GitHub
  • NProgress - Originally intended to use this project, but ended up creating my own in order to allow progress bar to be inserted into a panel. Most popular progress bar on GitHub!

About

A GitHub inspired progress bar for XHR/AJAX requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0