我目前正在努力在调用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?
有人可以帮助我吗?提前致谢!
问候,莫里茨