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