Track the recent history of a app.Screensaver traversal
- Source:
Members
-
<private, static, constant> _history
-
Slide show history
- Source:
Properties:
Name Type Description arr
Array.<app.SSHistory.Item> history items
idx
int pointer into arr
max
int max length of arr, it will actually have 1 item more
Methods
-
<static> add(newIdx, selected, replaceIdx)
-
Add item to the history
Parameters:
Name Type Argument Description newIdx
int <nullable>
if not null, a request from the back command
selected
int the current selection
replaceIdx
int the replace index
- Source:
-
<static> back() → {int}
-
Backup one slide
- Source:
Returns:
app.SSViews index to step to
- Type
- int
-
<static> clear()
-
Reset the slide show history
- Source:
-
<static> initialize()
-
Initialize the history
- Source:
Type Definitions
-
Item
-
History item
Type:
- Object
- Source:
Properties:
Name Type Description viewsIdx
int app.SSViews index
replaceIdx
int app.SSViews index
photoId
int app.SSPhoto id
photosPos
int pointer into app.SSPhotos