Methods
-
<static> clearHash()
-
Clears the URL hash
-
<static> getBoolean()
-
Checks if a parameter exists with the value 'true' or 1
-
<static> getHashParameter()
-
Gets a hash parameter (#name=value&other=text)
-
<static> getInt()
-
Checks if a parameter exists with the value 'true' or 1
-
<static> getParameter()
-
Get an URL parameter
-
<static> getParameters()
-
Gets all parameters as an array like : [{name:'hep',value:'hey'}]
-
<static> hasHash()
-
Checks if the URL has a certain hash
-
<static> setParameter()
-
Set an URL parameter - initiates a new request
-
<static> setParameters(params)
-
Sets a number of parameters
Parameters:
Name Type Description params
Array Parameters [{name:'hep',value:'hey'}]