Fantom

 

class flux::History

sys::Obj
  flux::History

@Serializable { collection=true }

Source

History maintains the most recent navigation history of the entire application.

add

This add(HistoryItem item)

Source

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)

Source

Iterate the history items from most recent to oldest.

items

HistoryItem[] items()

Source

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

const static History load()

Source

Convenience for loading from "session/history"

push

This push(Resource r)

Source

Log navigation to the specified resource into the history. Return this.

save

This save()

Source

Convenience for save to "session/history". Return this.