added Element.id property

This commit is contained in:
Jörg Hohwiller 2020-02-26 00:24:49 +01:00 committed by Alexey Andreev
parent cbbf7b5298
commit eeca1a502c

View File

@ -15,6 +15,8 @@
*/ */
package org.teavm.jso.dom.xml; package org.teavm.jso.dom.xml;
import org.teavm.jso.JSProperty;
public interface Element extends Node { public interface Element extends Node {
String getTagName(); String getTagName();
@ -51,4 +53,10 @@ public interface Element extends Node {
Element querySelector(String selectors); Element querySelector(String selectors);
NodeList<? extends Element> querySelectorAll(String selectors); NodeList<? extends Element> querySelectorAll(String selectors);
@JSProperty
String getId();
@JSProperty
void setId(String id);
} }