阅读背景:

当它已经有子元素时防止丢弃事件?拖放

来源:互联网 

I am doing the simple matching game. The game has multiple question. I am using drag and drop for matching. First of all, I'll drop the image element to one container, when I select another element and try to drop it into the same container, currently it's overwriting the existing element. I want to check the container, which already has the element. If it doesn't have, allow that to drop, otherwise prevent the drop. I am doing the simple matching game. The game h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: