vue-sticky
A directive to sticky element for vue.js(2.x).
for useage with Vue 1.x, see the 2.x branch
Install
npm install vue-sticky --save
Dev
run npm install
and npm run dev
Import
const VueSticky = VueStickydefault // Global variable
Use
directives:'sticky': VueSticky
<!-- sticky wrapper, IMPORTANT -->CONTENT