Scrol indicator for vue.js apps.
See DEMO here
Step 1: Install
Run:
npm install vue-content-scroll-progress --save
Step 2: 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
Reference
Below are the reference links:
No. | Link |
---|---|
1. | Read more here. |
2. | Follow code author here. |