The pathname, search, and hash values of a URL.

interface Path {
    hash: string;
    pathname: string;
    search: string;
}

Hierarchy (view full)

Properties

Properties

hash: string

A URL fragment identifier, beginning with a #.

pathname: string

A URL pathname, beginning with a /.

search: string

A URL search string, beginning with a ?.