From 5ed4de3a5acfaa9d600fcaa97326dbec64dbbed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Hohwiller?= Date: Tue, 14 Jan 2020 08:59:18 +0100 Subject: [PATCH] added placeholder property (was present in text area but missing in input) --- .../main/java/org/teavm/jso/dom/html/HTMLInputElement.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java index 0caf32df9..dfbadb23a 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java @@ -67,4 +67,10 @@ public interface HTMLInputElement extends HTMLElement { void setValue(String value); void select(); + + @JSProperty + String getPlaceholder(); + + @JSProperty + void setPlaceholder(String value); }