我目前在获取拖动元素的DragData
时遇到了困难,当调用on UI.drop
时。我有如下代码:
tile <- UI.new
# set UI.draggable True
# set UI.dragData (show player)
field <- UI.new
# set UI.droppable True
on UI.drop field $ \_ -> do
-- How to receive the DragData here?
有人能帮我吗?先谢谢了!
问候, Moritz