Переглянути джерело

Removed ';' in lambdas (#11628)

* Removed ';' in lambdas

credits to @voltor

* Merge branch 'master' into ZheSun88-patch-1
tags/8.9.0.alpha1
Zhe Sun 4 роки тому
джерело
коміт
ae296b155a
Аккаунт користувача з таким Email не знайдено

+ 4
- 4
documentation/advanced/advanced-dragndrop.asciidoc Переглянути файл

@@ -51,7 +51,7 @@ The [classname]#DragStartEvent# is fired when the drag has started, and the [cla
[source, java]
----
dragSource.addDragStartListener(event ->
Notification.show("Drag event started");
Notification.show("Drag event started")
);
dragSource.addDragEndListener(event -> {
if (event.isCanceled()) {
@@ -69,11 +69,11 @@ It is possible to transfer any Object as server side data to the drop target if
[source, java]
----
dragSource.addDragStartListener(event ->
dragSource.setDragData(myObject);
dragSource.setDragData(myObject)
);
dragSource.addDragEndListener(event ->
dragSource.setDragData(null);
};
dragSource.setDragData(null)
);
----

=== CSS Style Rules

Завантаження…
Відмінити
Зберегти