Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 657 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 657 Bytes

Scrol indicator for vue.js apps

Demo

See DEMO here

Install

Run npm install vue-content-scroll-progress --save

Usage

Add in the component import MyScrollPugin from 'vue-content-scroll-progress';

Add tag <content-scroll-progress spy=".content-list"><content-scroll-progress>

  • spy is a required parameter; pass it a selector of the scrolled container element
  • color, optional; e.g. "#ffcc00" - color of the indicator
  • extraClass, optional; e.g. "someclass" - add more complicated styling on the progress bar

License

MIT