Open webdesignweisshart opened 4 years ago
From the documentation of options https://photoswipe.com/documentation/options.html
loop
boolean true
Loop slides when using swipe gesture. If set totrue
you'll be able to swipe from last to first image. Option is alwaysfalse
when there are less than 3 slides.This option has no relation to arrows navigation. Arrows loop is turned on permanently. You can modify this behavior by making custom UI.
On touch devices endless scrolling (start with first pic after reaching last) is only possible, if minimum 3 pics in the gallery. Endless scrolling works on tapping the button, but not with swiping.