-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination on scroll end for REST services #44
Comments
Hi, this is good idea. Questions to developers: do you need this feature? Should I increase the plugin's size by this functionality ? |
If you want to keep it small, it might also be a good alternative just to expose some hooks where one can enhance the functionality with a custom implementation. Another alternative might be to split the functionality in two modules: a very small core module and an extended feature module, which hooks into the core. |
Yep, it's worth of it. Hope will be impelmented |
I would like to not increase the size of the plugin for this feature. But to expose some callback hooks which can be used to extend core plugin with all the extra functionalities including this. |
Now you able to subscribe to update scroll position via scrollingProgress callback. Or get progress position directly via calling getScrollProgress method.
|
Will try this today. Thanks. |
Great! Thank you! :-) |
I just thought about if it might be possible to define an event before further
data will be appended e.g. using ajax like for paginated data.
E.g. you load page one from a REST service and want to load additional pages when the user scrolls down to the end and before he reaches the end further data will be loaded.
Pseudocode:
This would enable the user to handle additional page loads without manually
injecting in the event handling of clusterize.
The text was updated successfully, but these errors were encountered: