Class HTMLElement

    • Constructor Detail

      • HTMLElement

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

      • createWrapper

        static <T extends HTMLElement> T createWrapper​(java.lang.String tagName,
                                                       java.lang.Object peer)
        Create a wrapper for a HTML peer element.
        Type Parameters:
        T - the return type
        Parameters:
        tagName - the tag name of the element
        peer - the native DOM object
        Returns:
        the wrapper