I wondering if there is any directive for implementing Ajax infinite scroll with vue.js or is there any directive available ?
Any Help would be appreciated.
|
It has nothing to do with any directive. You need to listen to scroll event and ajax additional items when the user hits bottom of the window/container. |
|||
|
Based on some tutorial code I used, the following demonstrates how to add a listener in a Vue.js component to the scroll event and a method to do something if the user scrolls to the bottom of the window. Note that when doing Maybe this can help you get started.
|
||||
|
All jquery components can be integrated with Vue through directives. But if you want people to help, you should provide a jsfiddle example. |
|||
|