We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0809a72 commit 151c692Copy full SHA for 151c692
vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/EventDemo.java
@@ -51,6 +51,10 @@ public EventDemo()
51
52
final HorizontalLayout hlButtons = new HorizontalLayout();
53
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
+
58
// Bind clickFunc to map so that it gets disposed when the map is disposed
59
final String clickFuncReference = map.clientComponentJsAccessor() + ".myCoolClickFunc";
60
reg.execJs(clickFuncReference + "=e => alert('You clicked: ' + e.latlng)");
0 commit comments