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

js.web.dom.HTMLUnknownElement Maven / Gradle / Ivy

package js.web.dom;

import org.teavm.jso.JSBody;

/**
 * An invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
 */
public interface HTMLUnknownElement extends HTMLElement {
    @JSBody(script = "return HTMLUnknownElement.prototype")
    static HTMLUnknownElement prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new HTMLUnknownElement()")
    static HTMLUnknownElement create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy