Browse Source

Fix bad grammar in declarative documentation (#10236)

* Fix bad grammar in declarative documentation

* Fix typos
tags/8.2.0.alpha3
Pekka Hyvönen 6 years ago
parent
commit
1c4713a74c
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      documentation/application/application-declarative.asciidoc

+ 2
- 4
documentation/application/application-declarative.asciidoc View File

@@ -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:


Loading…
Cancel
Save