History

extern class js.html.HistoryAvailable in jsReturns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).

Documentation for this class was provided by MDN.
var length(default,null) : IntRead-only. Returns the number of elements in the session history, including the currently loaded page. For example, for a page loaded in a new tab this property returns 1. var state(default,null) : DynamicReturns the state at the top of the history stack. This is a way to look at the state without having to wait for a popstate event. Read only. function back() : Void function forward() : Void function go( distance : Int ) : Void function pushState( data : Dynamic, title : String, ?url : String ) : Void function replaceState( data : Dynamic, title : String, ?url : String ) : Void
version #18283, modified 2013-05-01 11:57:36 by api
0 comment