D
D
Daniel2018-05-30 18:33:38
JavaScript
Daniel, 2018-05-30 18:33:38

How to make pagination on scroll with VueJS?

Good to everyone.
It is necessary that when scrolling, the page url changes and the corresponding component is loaded.
Interested in the implementation of the scroll itself. The content on the page is static, i.e. there is no scrolling. It is necessary that the scroll work like a button: scroll the wheel a little - the page has changed. It doesn't have to be a content slider or something like infinite scroll.
By what means is it possible to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kulakov, 2018-05-30
@kulakoff Vue.js

It's probably worth subscribing to the scroll event and implementing the necessary logic in the handler.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question