Skip to main content

internal_.PartialLocation

runtime / <internal> / PartialLocation

Interface: PartialLocation<S>

internal.PartialLocation

A partial Location object that may be missing some properties.

Type parameters​

NameType
Sextends State = State

Hierarchy​

Table of contents​

Properties​

Properties​

hash​

• Optional hash: string

The URL fragment identifier, beginning with a #.

Inherited from​

PartialPath.hash


key​

• Optional key: string

A unique string associated with this location. May be used to safely store and retrieve data in some other storage API, like localStorage.

Note: This value is always "default" on the initial location.


pathname​

• Optional pathname: string

The URL pathname, beginning with a /.

Inherited from​

PartialPath.pathname


query​

• Optional query: ParsedQuery<string>

The parsed URL search Object.

Inherited from​

PartialPath.query


• Optional search: string

The URL search string, beginning with a ?.

Inherited from​

PartialPath.search


state​

• Optional state: S

An object of arbitrary data associated with this location.