Class Element

Direct Known Subclasses:
HTMLElement

public class Element extends Node
https://developer.mozilla.org/en-US/docs/Web/API/Element
  • Constructor Details

    • Element

      Element(Object peer)
      Create a Java instance as wrapper of the JavaScript object.
      Parameters:
      peer - the native JavaScript object
  • Method Details

    • tagName

      public String tagName()
      https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName
      Returns:
      the tag name