HyperlinkElementUtils

Properties

Link copied to clipboard
open var hash: String

The hash property of the HTMLAnchorElement interface is a string containing a "#" followed by the fragment identifier of the element's href. If the URL does not have a fragment identifier, this property contains an empty string, "".

Link copied to clipboard
open var host: String

The host property of the HTMLAnchorElement interface is a string containing the host, which is the hostname, and then, if the port of the URL is nonempty, a ":", followed by the port of the URL. If the URL does not have a hostname, this property contains an empty string, "".

Link copied to clipboard
Link copied to clipboard
open var hreflang: String

The hreflang property of the HTMLAnchorElement interface is a string that is the language of the linked resource.

Link copied to clipboard
open val origin: String

The origin read-only property of the HTMLAnchorElement interface returns a string containing the Unicode serialization of the origin of the element's href.

Link copied to clipboard
open var password: String

The password property of the HTMLAnchorElement interface is a string containing the password component of the element's href. If the URL does not have a password, this property contains an empty string, "".

Link copied to clipboard
open var pathname: String

The HTMLAnchorElement.pathname property is a string containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).

Link copied to clipboard
Link copied to clipboard
open var protocol: String

The protocol property of the HTMLAnchorElement interface is a string containing the protocol or scheme of the element's href, including the final ":".

Link copied to clipboard
open var search: String

The search property of the HTMLAnchorElement interface is a search string, also called a query string, that is a string containing a "?" followed by the parameters of the element's href. If the URL does not have a search query, this property contains an empty string, "".

Link copied to clipboard
open var type: String

The type property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.

Link copied to clipboard
open var username: String

The username property of the HTMLAnchorElement interface is a string containing the username component of the element's href. If the URL does not have a username, this property contains an empty string, "".