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

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

package js.web.dom;

import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

/**
 * Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements.
 */
public interface HTMLTimeElement extends HTMLElement {
    @JSBody(script = "return HTMLTimeElement.prototype")
    static HTMLTimeElement prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    @JSProperty
    String getDateTime();

    @JSProperty
    void setDateTime(String dateTime);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy