Check if a user has scrolled to the bottom in Vue.js

This snippet will be useful for those trying to implement an infinite scroll in Vue.js or load next article when user reaches the bottom of the page.



Vue.js polling using setInterval()

I came up with an easy way to repeat a function in Vue.js.