io.scalajs.dom.html.HTMLAnchorElement.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
package io.scalajs.dom.html
import scala.scalajs.js
/**
* The HTMLAnchorElement interface represents hyperlink elements and provides special properties
* and methods (beyond those of the regular HTMLElement object interface they also have available
* to them by inheritance) for manipulating the layout and presentation of such elements.
* @author [email protected]
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
*/
@js.native
trait HTMLAnchorElement extends HTMLElement {
/////////////////////////////////////////////////////////////////////////////////
// Properties
/////////////////////////////////////////////////////////////////////////////////
/**
* Is a DOMString representing a single character that switches input focus to the hyperlink.
*/
def accessKey: String = js.native
/**
* Is a USVString representing the hostname and port (if it's not the default port) in the referenced URL.
*/
def host: String = js.native
/**
* Is a USVString representing the hostname in the referenced URL.
*/
def hostname: String = js.native
/**
* Is a DOMString being a synonym for the Node.textContent property.
*/
def text: String = js.native
}