toprogress2
Forked from djyde/ToProgress. See CHANGELOG.md.
Quick Start
$ yarn add toprogress2
import { ToProgress } from 'toprogress2' const topbar = new ToProgress({ id: 'toprogress', color: '#F44336', height: '2px', duration: 0.2, position: 'top', selector: 'body'}) topbar.start()topbar.stop()topbar.finish()
API
Documentation is generated via Typedoc and is available here
Demo
View the demo here
Browser Support
- IE >= 10
- Chrome
- Firefox
- Safari
License
MIT License