angular-carousel icon indicating copy to clipboard operation
angular-carousel copied to clipboard

Wrap option

Open mdedetrich opened this issue 8 years ago • 2 comments

This pull request adds the wrap option (default is true). If wrap is set to false, angular-carousel won't loop back to the start if it hits the last index (and vice versa)

mdedetrich avatar Dec 14 '15 03:12 mdedetrich

Hey, thanks for the contribution ! Isn't wrap the same as allow-loop ?

revolunet avatar Dec 14 '15 07:12 revolunet

I just had a look at the code, I think wrap works a bit differently (for example, it will stop the looping even on things like auto slide). Allow loop only appears to work in regards to controls

I think that wrap will work the same way that auto loop does if you do happen to have controls

mdedetrich avatar Dec 14 '15 08:12 mdedetrich