diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/xml/Element.java b/jso/apis/src/main/java/org/teavm/jso/dom/xml/Element.java index eab7a3c05..679321058 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/xml/Element.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/xml/Element.java @@ -15,6 +15,8 @@ */ package org.teavm.jso.dom.xml; +import org.teavm.jso.JSProperty; + public interface Element extends Node { String getTagName(); @@ -51,4 +53,10 @@ public interface Element extends Node { Element querySelector(String selectors); NodeList querySelectorAll(String selectors); + + @JSProperty + String getId(); + + @JSProperty + void setId(String id); }