Closed l2aelba closed 6 years ago
Check the code for the prop definition: https://github.com/dalphyx/vue-headroom/blob/master/src/headroom.vue#L42
You need to provide a function that returns the object were you want headroom to listen for scroll events. The default function returning the window
object is usually ok. So by default you probably don't need to use the :scroller
prop.
Aha thanks. Closed
Can you give me an example how to use
scroller
?Thanks thanks :D