Skip to main content

To

Describes a location that is the destination of some navigation, either via
history.push or history.replace. May be either a URL or the pieces of a
URL path.

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
hashstringA URL fragment identifier, beginning with a #.
pathnamestringA URL pathname, beginning with a /.
searchstringA URL search string, beginning with a ?.