It would be nice if one could define an offset. For example: if particlesToShow = 2 and offset = true, there would be one element in the middle and the previous and next element each as half displayed. It could look like this:
Of course, carousels with two or fewer elements and carousels that are not infinite must be handled.
It would be nice if one could define an offset. For example: if particlesToShow = 2 and offset = true, there would be one element in the middle and the previous and next element each as half displayed. It could look like this: Of course, carousels with two or fewer elements and carousels that are not infinite must be handled.