vue-stickto
A vue directive that support multiple DOM Node stick to top automatically.
Install
npm install vue-stickto
use
- import
- simply add the directive into a tag
- see the result
If you're using script tag to import
copy the dist/VueStickto.js
to the place wherever you want and <script src="[path]Vuestickto.js"/>