Class Element

  • Direct Known Subclasses:
    HTMLElement

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

      • Element

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

      • tagName

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