HTML5 Drag and Drop
Drag and drop este o caracteristică foarte comună. Este atunci când „apucați” un obiect și îl trageți într-o altă locație. În HTML5, drag and drop face parte din standard: Orice element poate fi tras. Pentru a face un element care poate fi trasat, setați atributul dragable pe true Atributul ondra...
2 articole de teorie
Articole de teorie
HTML5 Drag and Drop. Asistență browser.
Teorie · 0 vizualizări
HTML5 Drag and Drop. Element care poate fi deplasat cu atributul dragable pe true. Atributul ondragstart. Metoda dataTransfer.setData(). Evenimentul ondragover. Metoda event.preventDefault() pentru evenimentul ondragover. Atributul ondrop.
Teorie · 0 vizualizări