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

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

package js.web.dom;


import js.util.collections.ArrayLike;
import org.teavm.jso.JSBody;

import javax.annotation.Nullable;


public interface HTMLCollection extends ArrayLike {
    @JSBody(script = "return HTMLCollection.prototype")
    static HTMLCollection prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    /**
     * Retrieves a select object or an object from an options collection.
     */
    @Nullable
    Element namedItem(String name);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy