Forked from djyde/ToProgress. See CHANGELOG.md.
$ 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()
Documentation is generated via Typedoc and is available here
View the demo here
- IE >= 10
- Chrome
- Firefox
- Safari
MIT License