History maintains the most recent navigation history of the entire application.
Slots
- addSource
-
This add(HistoryItem item)
Add a new history item to the end of the history. This method is typically only used for serialization. See push to log navigation of a Uri. Return this.
- eachSource
-
Void each(|HistoryItem| f)
Iterate the history items from most recent to oldest.
- itemsSource
-
HistoryItem[] items()
Get a readonly copy of all the items in the history. The first item is the most recent navigation and the last item is the oldest navigation.
-
private HistoryItem[] list := HistoryItem[,]
- loadSource
-
static History load()
Convenience for loading from "session/history"
-
private Int max := 20
- pushSource
-
Log navigation to the specified resource into the history. Return this.
- saveSource
-
This save()
Convenience for save to "session/history". Return this.