Skip to content

bushuai/ovo-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ovo-progress

๐ŸŒˆ Page scroll with progress

version downloads MIT License

TODO

  • use rollup
  • vue plugin
  • react component

Installation

# npm
$ npm i ovo-progress

# yarn
$ yarn add ovo-progress

Usage

 import Progress from 'ovo-progress'

 new Progress({ /* options */ })

Options

Option Type Default Description
height string 3px the height of progress.
color string #2980B9 the color of progress.
onReachBottom function noop invoked when page scroll to the bottome of the document
onReachTop function noop invoked when page scroll to the top of the document

License

MIT ยฉ bushuai

About

๐ŸŒˆ Page scroll with progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published