Module: CommonUtils

Methods

(static) getParameterByName(name, url) → {string}

Util function to get single element value from query string
Parameters:
Name Type Description
name string name of query param
url string url to use (if not present, window.location.href will be used)
Source:
Returns:
- value of query param
Type
string

(static) removeNumbers(stringWithNumbers) → {string}

Util function to remove numbers from passed string
Parameters:
Name Type Description
stringWithNumbers string string with numbers
Source:
Returns:
- string without numbers
Type
string

(static) toQueryString(paramsObject) → {string}

Util function to create query string from passed object
Parameters:
Name Type Description
paramsObject object object to create query string from
Source:
Returns:
- query string
Type
string