-
Notifications
You must be signed in to change notification settings - Fork 705
Multiple Items but only move one item at a time #246
Comments
I have the same need, I want to show 3 items in a screen but want to show/hide one at a time. So it's not possible to put the 3 items in on li as suggested. |
having multiple items on a single is really easy, its just a matter of template. group your images in pages : something like <ul rn-carousel>
<li ng-repeat="page in pages">
<img ng-repeat="image in page.images" ng-src="image.url"/>
</li>
</ul> |
But in this case, how about the transition between each pages. with 3 items per pages Does it create a flickr effect when transitioning ? |
i think i misunderstood sorry. |
@sbberic @sinsunsan Have you found solutions guys? I need the same feature :) |
any updates guys on this... require the same feature. |
It seems like this is already possible, just requires a couple tricks with the CSS. Wrap it inside of a container and set the container's width to whatever you want the total width of the all visible slides of your carousel and overflow: hidden; The one thing that seems tricky with this is making the control buttons still get pushed to the outer edges of the container, which may just take playing with absolute positioning until you get them where you want them. Anyone see any issues with this method? |
angular-slick have one at a time option that does what you (and I) want. |
I saw a few issues filed before that suggests to put multiple items in a single li. My question is, is it possible to increase the viewport to show 3 items instead of 1 and scroll through them 1 item at a time.
e.g.
1 | 2 | 3 -> slide right -> 2 | 3 | 4
instead of
1 | 2 | 3 -> slide right -> 4 | 5 | 6
Thanks
The text was updated successfully, but these errors were encountered: