0
How can I make something to drag and drop (like a photo)?
SoloLearn gave me too much info but I don't understand
3 Antworten
+ 3
Cbr✔[ Not Active ] , you forgot to end quotation 😅. It's <img src=''" draggable="true" >
+ 1
draggable 唔係必須。
反而你要用到JavaScript 的 ondragstart 或 ontouchstart
類似咁樣:
https://code.sololearn.com/WPV6TSGBsLDi/?ref=app