HTMLHyperlinkElementUtils
Extended by
Methods
toString()
toString(): string;
Returns
string
Properties
hash
hash: string;
Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
Can be set, to change the URL's fragment (ignores leading "#").
host
host: string;
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
hostname: string;
Returns the hyperlink's URL's host.
Can be set, to change the URL's host.
href
href: string;
Returns the hyperlink's URL.
Can be set, to change the URL.
origin
readonly origin: string;
Returns the hyperlink's URL's origin.
password
password: string;
Returns the hyperlink's URL's password.
Can be set, to change the URL's password.
pathname
pathname: string;
Returns the hyperlink's URL's path.
Can be set, to change the URL's path.
port
port: string;
Returns the hyperlink's URL's port.
Can be set, to change the URL's port.
protocol
protocol: string;
Returns the hyperlink's URL's scheme.
Can be set, to change the URL's scheme.
search
search: string;
Returns the hyperlink's URL's query (includes leading "?" if non-empty).
Can be set, to change the URL's query (ignores leading "?").
username
username: string;
Returns the hyperlink's URL's username.
Can be set, to change the URL's username.