Namespace: location

hui. location

Source:

Methods


<static> clearHash()

Clears the URL hash

Source:

<static> getBoolean()

Checks if a parameter exists with the value 'true' or 1

Source:

<static> getHashParameter()

Gets a hash parameter (#name=value&other=text)

Source:

<static> getInt()

Checks if a parameter exists with the value 'true' or 1

Source:

<static> getParameter()

Get an URL parameter

Source:

<static> getParameters()

Gets all parameters as an array like : [{name:'hep',value:'hey'}]

Source:

<static> hasHash()

Checks if the URL has a certain hash

Source:

<static> setParameter()

Set an URL parameter - initiates a new request

Source:

<static> setParameters(params)

Sets a number of parameters

Parameters:
Name Type Description
params Array

Parameters [{name:'hep',value:'hey'}]

Source: