InterviewSolution
Saved Bookmarks
| 1. |
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) FalseThe question was posed to me in an interview for job.The query is from Drag and Drop in division HTML Fonts, Tags and Elements of HTML |
|
Answer» RIGHT option is (a) True The EXPLANATION is: 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. |
|