+ 1

what? [ondrag vs draggable]

What is the difference between ondrag and draggable? I'm sorry if this question is rudimentary.

2nd Aug 2019, 11:27 PM
takeru
takeru - avatar
2 Respostas
+ 1
"ondrag" is an event, which occurs whenever the user drags an element. "draggable" is a variable, that sets whether the user CAN drag the element or not.
2nd Aug 2019, 11:54 PM
haydenki
haydenki - avatar
+ 1
thank you!
3rd Aug 2019, 8:53 AM
takeru
takeru - avatar