History
(
)
(
)
string
getBookmarkedState
(
moduleId
)
moduleId
<string>
Non-empty string representing your module.
string
string
getCurrentState
(
moduleId
)
moduleId
<string>
Non-empty string representing your module.
string
string
getQueryStringParameter
(
paramName
,
queryString
)
paramName
<string>
Name of the parameter we want to look up.
queryString
<string>
Optional URL to look at. If not specified,
this method uses the URL in the address bar.
string
void
initialize
(
stateField
,
historyIFrame
)
stateField
<string|HTML Element>
used
to store application states. Must be in the static markup.
historyIFrame
<string|HTML Element>
IFrame used to store
the history (only required for IE6/7)
boolean
multiNavigate
(
states
)
states
<object>
Associative array of module-state pairs to set simultaneously.
boolean
boolean
navigate
(
module
,
state
)
module
<string>
Non-empty string representing your module.
state
<string>
String representing the new state of the specified module.
boolean
History.Module
register
(
moduleId
,
initialState
)
moduleId
<string>
Non-empty string uniquely identifying the
module you wish to register.
initialState
<string>
The initial state of the specified
module corresponding to its earliest history entry.
History.Module
history:globalStateChange
(
)
history:moduleStateChange
(
)
history:ready
(
)