class flux::History
sys::Obj flux::History
@Serializable { collection=true }
History maintains the most recent navigation history of the entire application.
- add
-
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. - each
-
Void each(|HistoryItem| f)
Iterate the history items from most recent to oldest.
- items
-
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.
- load
-
static History load()
Convenience for loading from "session/history"
- push
-
Log navigation to the specified resource into the history. Return this.
- save
-
This save()
Convenience for save to "session/history". Return this.