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

Buffer support #43

Open
websirnik opened this issue Jun 3, 2016 · 0 comments
Open

Buffer support #43

websirnik opened this issue Jun 3, 2016 · 0 comments

Comments

@websirnik
Copy link

I'm migrating from the https://github.com/revolunet/angular-carousel to Swiper. One nice feature of angular-carousel was the ability to buffer elements in ng-repeat. You can see the demo here: http://blog.revolunet.com/angular-carousel/
The idea is if you have 50 elements in your array, with the butter feature there is going to be only 5 elements in the DOM at any time, not 50. When you navigate to the next element, the buffer updates DOM to include the next elements. Internally it is implemented via ng-repeat filter.

I've tried to replicate the experience with ng-repeat filter, but failed so far. Do you have any guidance how to add support for buffering?

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

No branches or pull requests

1 participant