Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemzqm/nanobar
A progress bar at the very top of a webpage.
https://github.com/chemzqm/nanobar
Last synced: about 1 month ago
JSON representation
A progress bar at the very top of a webpage.
- Host: GitHub
- URL: https://github.com/chemzqm/nanobar
- Owner: chemzqm
- Created: 2014-04-26T19:06:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-12T19:24:48.000Z (almost 9 years ago)
- Last Synced: 2024-10-29T12:38:02.386Z (about 2 months ago)
- Language: HTML
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Nanobar
A progress bar at the very top of a webpage.
VIEW DEMO:
## Installation
Install with [component(1)](http://component.io):
$ component install chemzqm/nanobar
## API
```
var Nanobar = require('nanobar');
```
### new Nanobar([parent]);append nanobar to parentNode (default to document.body);
### Nanobar#update(number)
Goto a certain percent of progress.
```
nanobar.update(30)
```### Nanobar#dismiss()
Remove this nanobar.
### Nanobar#infinite()
Make the progress bar infinite.
## License
MIT