Interface HTMLHyperlinkElementUtils
- HTMLHyperlinkElementUtils
Properties
hash
hash: string
host
host: string
hostname
hostname: string
href
href: string
Readonly
origin
origin: string
password
password: string
pathname
pathname: string
port
port: string
protocol
protocol: string
search
search: string
username
username: string
Methods
toString
- toString(): string
Returns string
Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
Can be set, to change the URL's fragment (ignores leading "#").
MDN Reference