Skip to content
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

Paginate with api #125

Closed
dmbehrouz opened this issue Jul 21, 2020 · 1 comment
Closed

Paginate with api #125

dmbehrouz opened this issue Jul 21, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@dmbehrouz
Copy link

Hi
I want to call an api service for show result.In my service return total count of all result and maybe total count over that 20 result but my service only return 200 result in every call. I want use your library for paginate of my service. Does exist this feature in your library?

Thank you for your help

@dmbehrouz dmbehrouz added the enhancement New feature or request label Jul 21, 2020
@folknor
Copy link

folknor commented May 1, 2021

This is no problem. You can't do it directly in autoComplete.js but you just need a few additional variables to keep the state and some custom code.

#95 (comment) doesn't do exactly what you want, but you can hook those prev/next buttons to custom fetch code and do it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants