JSDoc: Namespace: navigate

# Namespace: navigate

## navigate

Source:
  - navigate.js, line 14

### Methods

#### (static) isLoadEventExpected(current, futureopt) → {boolean}

Determines if we expect to get a DOM load event (DOMContentLoaded) on navigating to the `future` URL.

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`current` | string |  | URL the browser is currently visiting.
`future` | string | <optional> | Destination URL, if known.

Source:
  - navigate.js, line 32

##### Throws:

TypeError If `current` is not defined, or any of `current` or `future` are invalid URLs.

##### Returns:

Full page load would be expected if future is followed.

Type
  boolean