All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalajs.dom.html.HTMLAnchorElement.scala Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy