aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/application/application-declarative.asciidoc
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-19 17:25:45 +0200
committerGitHub <noreply@github.com>2016-12-19 17:25:45 +0200
commitd51e48649f71d4476481f6c67291805c20cc339f (patch)
tree988c85df79e42e165e5f7fa8982e9f2f917ba916 /documentation/application/application-declarative.asciidoc
parent03f0e0f31b3643e08ed2508a4ae760a5c058322f (diff)
downloadvaadin-framework-d51e48649f71d4476481f6c67291805c20cc339f.tar.gz
vaadin-framework-d51e48649f71d4476481f6c67291805c20cc339f.zip
Fix application documentation for 8 (#8045)
* Fix application documentation for 8 Updated where only small changes, mention not updated when more changes.
Diffstat (limited to 'documentation/application/application-declarative.asciidoc')
-rw-r--r--documentation/application/application-declarative.asciidoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/application/application-declarative.asciidoc b/documentation/application/application-declarative.asciidoc
index b741cf1cab..dd6523ca86 100644
--- a/documentation/application/application-declarative.asciidoc
+++ b/documentation/application/application-declarative.asciidoc
@@ -191,8 +191,8 @@ documentation of Vaadin.
Component properties are directly mapped to the attributes of the HTML elements
according to the names of the properties. Attributes are written in lower-case
letters and dash is used for word separation instead of upper-case letters in
-the Java methods, so that [literal]#++input-prompt++# attribute is equivalent to
-[methodname]#setInputPrompt()#.
+the Java methods, so that [literal]#++placeholder++# attribute is equivalent to
+[methodname]#setPlaceholder()#.
For example, the __caption__ property, which you can set with
[methodname]#setCaption()#, is represented as [literal]#++caption++# attribute.
@@ -203,7 +203,7 @@ classes.
[source, html]
----
-<vaadin-text-field caption="Name" input-prompt="Enter Name"/>
+<vaadin-text-field caption="Name" placeholder="Enter Name"/>
----