next( )
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 theisPlayable
capability istrue
. -
If you change a gallery's type to one that doesn't support
next()
, your code may no longer function correctly.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<Element>
Was this helpful?
Yes
No