0

Will the draggable attribute work without JavaScript?

10/8/2019 5:21:41 PM

Daniel Awuni

3 Answers

New Answer

+1

+1

draggable will have to be paired with ondragstart to work https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable And this is HTML drag and drop API https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API To conclude, yes and no: yes in that you can drag the element with mouse; no in that you still need JavaScript to define the behavior.

0