Retrieves the preview content for the next available result in the current result set.
If it reaches the last available result in the current result set, it will not perform an additional query to fetch new results.
Instead, it will loop back to the first available result.
If options.onlyContentURL
is true
this will update the contentURL
state property rather than content
.
Retrieves the preview content for the previous available result in the current result set.
If it reaches the first available result in the current result set, it will not perform an additional query to fetch new results.
Instead, it will loop back to the last available result.
If options.onlyContentURL
is true
this will update the contentURL
state property rather than content
.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
Retrieves the preview content for the configured result. If
options.onlyContentURL
istrue
this will update thecontentURL
state property rather thancontent
.