vue-headroom
vue-headroom copied to clipboard
Migrate to Vue3
This PR aims to migrate vue headroom to Vue3.
It uses yarn as dependency manager and vite as a builder.
Removes raf polyfill dependency as suggested in https://github.com/dalphyx/vue-headroom/pull/44
I had to add a ref to the slot parent to retrieve the height of the slot because this.slots.default()[0].elm.offsetHeight
was undefined
and I did not find any other work around.