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

js.web.webcomponents.ShadowRoot Maven / Gradle / Ivy

package js.web.webcomponents;

import js.web.dom.DocumentFragment;
import js.web.dom.Element;
import js.web.dom.InnerHTML;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;


public interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
    @JSBody(script = "return ShadowRoot.prototype")
    static ShadowRoot prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

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

    @JSProperty
    Element getHost();

    @JSProperty
    ShadowRootMode getMode();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy