elemental2.dom.ShadowRoot Maven / Gradle / Ivy
package elemental2.dom;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class ShadowRoot extends DocumentFragment {
public Element activeElement;
public boolean applyAuthorStyles;
public Element host;
public String innerHTML;
public ShadowRoot olderShadowRoot;
public boolean resetStyleInheritance;
public StyleSheetList styleSheets;
public native Element elementFromPoint(double x, double y);
public native HTMLElement getElementById(String id);
public native NodeList getElementsByClassName(String className);
public native NodeList getElementsByTagName(String tagName);
public native NodeList getElementsByTagNameNS(String namespace, String localName);
public native Selection getSelection();
}