A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

Ngân Lam

New member
A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.
A. True
B. False
 
Answer: a
Explanation: The dragover event is fired as the mouse is moving over an element when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event. When draggable element enters a drop target then dragenter event is occurred.
 

Tìm kiếm

Back
Top