HistoryHTML5
(
config
)
- Parameters:
-
config <Object>
(optional) Configuration object. The followingHistoryHTML5
-specific properties are supported in addition to those supported byHistoryBase
:- enableSessionFallback (Boolean)
-
Set this to
true
to store the most recent history state in sessionStorage in order to seamlessly restore the previous state (if any) whenHistoryHTML5
is instantiated after awindow.onpopstate
event has already fired.By default, this setting is
false
.