goog.history.Html5History
to create
URL when storing token without the hash fragment.
Given a window.location
object containing the location
created by createUrl
, the token transformer allows
retrieval of the token back via retrieveToken
.
goog.history.Html5History.TokenTransformer |
Creates a URL to be pushed into HTML5 history stack when storing
token without using hash fragment.
Arguments:
Returns: string
url The complete URL string from path onwards
(without
protocol://host:port part); must begin with a
slash.
|
code » | ||||
Retrieves a history token given the path prefix and
window.location object.
|
code » |