Vidyalelo
HTML · Q14

HTML Fonts, Tags And Elements

Programming · HTML · question 14

Q14

Which of the following property is used to determine which drag operation was desired?

A.
dragend
B.
getData
C.
dropEffect
Answer
D.
captureData

Answer: Option C

Solution

Answer: Option C
Solution:
During the drop event, you should retrieve that data that was dropped from the event and insert it at the drop location. One can use the dropEffect property to determine which drag operation was desired.