mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
added Element.id property
This commit is contained in:
parent
cbbf7b5298
commit
eeca1a502c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user