Module: js-whatever/js/location

js-whatever/js/location

Wrapper around window.location, allowing for easier testing

Source:

Methods

<inner> host() → {string}

Source:
Returns:

window.location.host

Type
string

<inner> hostname() → {string}

Source:
Returns:

window.location.hostname

Type
string

<inner> pathname() → {string}

Source:
Returns:

window.location.pathname

Type
string

<inner> port() → {string}

Source:
Returns:

window.location.port

Type
string

<inner> protocol() → {string}

Source:
Returns:

window.location.protocol

Type
string

<inner> search() → {string}

Source:
Returns:

window.location.search

Type
string
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.