Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在拖动元素时更改预览。(见setDragImage)
例如,如果用户在拖动时按 ctrl 或 shift ,则使用另一个元素?
这是一个例子。此示例在您开始拖动操作时显示图像。但是,如果您想即时更改它,那将是非常具有挑战性的!
甚至可能吗?