Moves to the next item.
The next()
function returns a Promise that is resolved when the next
item is completely rendered. Calling next()
when on the last item
moves to the first item.
Notes:
When using next()
on a gallery, make sure the
gallery is one where the isPlayable
capability is true
.
If you change a gallery's type
to one that doesn't support next()
, your code may no longer function correctly.