public interface DropTargetRpc extends ServerRpc
Modifier and Type | Method and Description |
---|---|
void |
drop(List<String> types,
Map<String,String> data,
String dropEffect,
MouseEventDetails mouseEventDetails)
Called when drop event happens on client side.
|
void drop(List<String> types, Map<String,String> data, String dropEffect, MouseEventDetails mouseEventDetails)
types
- List of data types from DataTransfer.types
object.data
- Map containing all types and corresponding data from the
DataTransfer
object.dropEffect
- The desired drop effect.mouseEventDetails
- mouse event details object containing information about the
drop eventCopyright © 2018 Vaadin Ltd. All rights reserved.