Affixes an element on the screen based on a relative element

A Vue.js plugin that affixes an element on the window while scrolling based on a relative element

Unlike other plugins, this Vue2 component will make it easy to affix any element.

Affixes an element based on a relative element as you scroll
Only needs 3 super simple configuration steps
Dispatches events
No dependencies
Vue2
Uses pure JS!

Live Demo

https://eddiemf.github.io/vue-affix/examples/example-1.html

GitHub