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

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

package js.web.dom;

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

/**
 * Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
 */
public interface HTMLTitleElement extends HTMLElement {
    @JSBody(script = "return HTMLTitleElement.prototype")
    static HTMLTitleElement prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    /**
     * Retrieves or sets the text of the object as a string.
     */
    @JSProperty
    String getText();

    @JSProperty
    void setText(String text);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy