From c0d42a9d7a724a4e6b4a02d49cc806d4d8bacb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Sun, 12 Jan 2020 22:26:13 +0100 Subject: [PATCH] #455: added Node.textContent property support --- jso/apis/src/main/java/org/teavm/jso/dom/xml/Node.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/xml/Node.java b/jso/apis/src/main/java/org/teavm/jso/dom/xml/Node.java index f1efe3605..6c1f76fd9 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/xml/Node.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/xml/Node.java @@ -96,7 +96,13 @@ public interface Node extends JSObject { String getLocalName(); boolean hasAttributes(); + + @JSProperty + String getTextContent(); + @JSProperty + void getTextContent(String textContent); + @JSProperty Document getOwnerDocument();