aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-03-20 17:10:32 +0200
committerIlia Motornyi <elmot@vaadin.com>2017-03-20 17:10:32 +0200
commit1d127a0c7f16324ef30806c41dc7c5261105eb38 (patch)
tree17588742560ebe79e64f079c2bcd9fbf2dfe7546 /server/src/main
parent2618b8e2cc592a773396a16fd7dccc8b1a0fcd9d (diff)
downloadvaadin-framework-1d127a0c7f16324ef30806c41dc7c5261105eb38.tar.gz
vaadin-framework-1d127a0c7f16324ef30806c41dc7c5261105eb38.zip
Support data-location attribute in CustomLayout (#8866)
Fixes #8416
Diffstat (limited to 'server/src/main')
-rw-r--r--server/src/main/java/com/vaadin/ui/CustomLayout.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/CustomLayout.java b/server/src/main/java/com/vaadin/ui/CustomLayout.java
index 79146b9cc8..b2eb675c56 100644
--- a/server/src/main/java/com/vaadin/ui/CustomLayout.java
+++ b/server/src/main/java/com/vaadin/ui/CustomLayout.java
@@ -52,6 +52,11 @@ import com.vaadin.ui.declarative.DesignContext;
* </p>
*
* <p>
+ * A location is identified with the attribute "data-location" or "location"
+ * which has the location name as its value.
+ * </p>
+ *
+ * <p>
* The default theme handles the styles that are not defined by drawing the
* subcomponents just as in OrderedLayout.
* </p>