aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/application/application-declarative.asciidoc
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2017-10-23 13:31:02 +0100
committerPéter Török <31210544+torok-peter@users.noreply.github.com>2017-10-23 15:31:02 +0300
commit1c4713a74c3fb42d1b14c25098a2091f3e4fbe04 (patch)
treed65116fc14dff83b2928e0c01f15622d75e092ae /documentation/application/application-declarative.asciidoc
parenta2497cf0155caeaf90c421b19c4d97ecfbe4fd87 (diff)
downloadvaadin-framework-1c4713a74c3fb42d1b14c25098a2091f3e4fbe04.tar.gz
vaadin-framework-1c4713a74c3fb42d1b14c25098a2091f3e4fbe04.zip
Fix bad grammar in declarative documentation (#10236)
* Fix bad grammar in declarative documentation * Fix typos
Diffstat (limited to 'documentation/application/application-declarative.asciidoc')
-rw-r--r--documentation/application/application-declarative.asciidoc6
1 files changed, 2 insertions, 4 deletions
diff --git a/documentation/application/application-declarative.asciidoc b/documentation/application/application-declarative.asciidoc
index c044b472ae..dd9da299d4 100644
--- a/documentation/application/application-declarative.asciidoc
+++ b/documentation/application/application-declarative.asciidoc
@@ -26,7 +26,7 @@ vertical.addComponent(new TextField("Postal code"));
layout.addComponent(vertical);
----
-You could define it declaractively with the following equivalent design:
+You could define it declaratively with the following equivalent design:
[source, html]
----
@@ -325,9 +325,7 @@ HTML file, which can be bound to a class extending [classname]#VerticalLayout#.
[[application.declarative.composite.using]]
=== Using a Design
-The fact that a component is defined declaratively is not visible in its API, so
-you can create and use such it just like any other component.
-
+You can create and use a declaratively defined component just like any other component.
For example, to use the previously defined design root component as the content
of the entire UI: