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

Add Functioning Demo #4

Open
jermsull opened this issue Jul 28, 2015 · 19 comments
Open

Add Functioning Demo #4

jermsull opened this issue Jul 28, 2015 · 19 comments

Comments

@jermsull
Copy link

Is it possible to add a demo of ui-select-infinity so that people can see how you recommend using ui-select with the infinity scrolling functionality?

@hyzhak
Copy link
Owner

hyzhak commented Jul 28, 2015

@jermsull good point. Is example from README not enough? https://github.com/hyzhak/ui-select-infinity#example

@hyzhak hyzhak assigned hyzhak and unassigned hyzhak Jul 28, 2015
@umdstu
Copy link

umdstu commented Jul 29, 2015

Would be useful to see a server side implementation called in getInfinityScrollChunk(id); For example, what the request would look like and the response would look like, as compared to angular-ui-select.

Update: esp. considering I haven't been able to get it to work yet ;)

@jermsull
Copy link
Author

Thanks for the quick response, Eugene. I'm pretty new to AngularJS, and it would be nice to see how to combine ui-select, ui-select-infinity, and a data source with infinite scrolling.

@umdstu
Copy link

umdstu commented Jul 29, 2015

For example, whats the connection between refreshList() and getInfinityScrollChunk(id) ?

@hyzhak
Copy link
Owner

hyzhak commented Aug 1, 2015

ok, I see, it will take significant amount of time. So will put it in my TODO list but can't give you example right away. But I always open for PR, so if you will find solution please send commits with it

@andrewboni
Copy link

+1 for this, would be very helpful

@varunoberoi
Copy link

+1 for a plunker

@hyzhak
Copy link
Owner

hyzhak commented Sep 10, 2015

@andrewboni @varunoberoi ok, are there any ideas which public API with pagination should we use as a demo?

@varunoberoi
Copy link

Just replicate original select2's infinite scroll demo using following API:
https://developer.github.com/v3/search/#search-repositories

Demo:
http://select2.github.io/select2/#infinite

@guilhermecvmnsj
Copy link

Example is not working, any help?

@vhalthi
Copy link

vhalthi commented Mar 24, 2016

An example would be very helpful, Is there any working example (demo) ?

@hyzhak
Copy link
Owner

hyzhak commented Mar 24, 2016

@1HzAkLAT sadly I'm very occupied right now. But I'm opened for PR contributions

@sharonx
Copy link
Contributor

sharonx commented Mar 25, 2016

Here is the example: http://plnkr.co/edit/rzxHXGUm9eKEUqRSKWyj?p=preview before my PR is merged

@sharonx
Copy link
Contributor

sharonx commented Apr 28, 2016

It works for me, at least on chrome. I haven’t tested it anywhere else.

Can you give me more details about how it’s not working?

-sharonx

On Apr 28, 2016, at 1:26 AM, Toni Dermawan Y notifications@github.com wrote:

@sharonx https://github.com/sharonx it seems your plunker not working


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #4 (comment)

@tonidy
Copy link

tonidy commented Apr 29, 2016

@sharonx sorry it is working now, I have issue with my Internet connection

@pencilcheck
Copy link

pencilcheck commented Sep 29, 2016

There seems to be a bug in the inifite-scrolling module logic when it initializes. I fixed it now it is working for me. Here is an example: http://plnkr.co/edit/p6Dt3yvTq40Vn56AKiqC?p=preview

@hyzhak
Copy link
Owner

hyzhak commented Sep 30, 2016

@pencilcheck ok, I see. You can create pull request with your changes. So I could merge them to repository

@sergiogregorutti
Copy link

@hyzhak thanks for this extension. It is really useful.

@pencilcheck can you create a pull request with your changes? It will be very appreciated. Thanks!

@pencilcheck
Copy link

Yup. #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests