Skip to content

Commit 151c692

Browse files
committed
Improve docs II
1 parent 0809a72 commit 151c692

File tree

1 file changed

+4
-0
lines changed
  • vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo

1 file changed

+4
-0
lines changed

vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/EventDemo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ public EventDemo()
5151

5252
final HorizontalLayout hlButtons = new HorizontalLayout();
5353

54+
// !!! NOTE !!!
55+
// A more complex demo which also sends data back from the client to the server
56+
// can be found in ComplexDemo#addEventDemo
57+
5458
// Bind clickFunc to map so that it gets disposed when the map is disposed
5559
final String clickFuncReference = map.clientComponentJsAccessor() + ".myCoolClickFunc";
5660
reg.execJs(clickFuncReference + "=e => alert('You clicked: ' + e.latlng)");

0 commit comments

Comments
 (0)