From 9daba6e5a6b1bcc52f4c42df4f001dfaafcd88f3 Mon Sep 17 00:00:00 2001 From: kris-scheibe Date: Mon, 24 Feb 2020 10:27:47 +0100 Subject: [PATCH] add HTMLElement.innerText --- .../src/main/java/org/teavm/jso/dom/html/HTMLElement.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java index 28aeac10b..27f33e069 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java @@ -136,6 +136,12 @@ public interface HTMLElement extends Element, ElementCSSInlineStyle, EventTarget @JSProperty void setInnerHTML(String content); + @JSProperty + String getInnerText(); + + @JSProperty + void setInnerText(String content); + TextRectangle getBoundingClientRect(); @JSProperty