Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLHyperlinkElementUtils

interface HTMLHyperlinkElementUtils {
hash: string;
host: string;
hostname: string;
href: string;
readonly origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
username: string;
toString(): string;
}

§Properties

§
hash: string
[src]

Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

Can be set, to change the URL's fragment (ignores leading "#").

§
host: string
[src]

Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

Can be set, to change the URL's host and port.

§
hostname: string
[src]

Returns the hyperlink's URL's host.

Can be set, to change the URL's host.

§
href: string
[src]

Returns the hyperlink's URL.

Can be set, to change the URL.

§
readonly origin: string
[src]

Returns the hyperlink's URL's origin.

§
password: string
[src]

Returns the hyperlink's URL's password.

Can be set, to change the URL's password.

§
pathname: string
[src]

Returns the hyperlink's URL's path.

Can be set, to change the URL's path.

§
port: string
[src]

Returns the hyperlink's URL's port.

Can be set, to change the URL's port.

§
protocol: string
[src]

Returns the hyperlink's URL's scheme.

Can be set, to change the URL's scheme.

§
username: string
[src]

Returns the hyperlink's URL's username.

Can be set, to change the URL's username.

§Methods

§
toString(): string
[src]