diff options
Diffstat (limited to 'documentation/application/application-declarative.asciidoc')
-rw-r--r-- | documentation/application/application-declarative.asciidoc | 6 |
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: |