MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / dragEnter

Function dragEnter

assets/js/DragNDrop.js:27–31  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

25//Events fired on the drop target
26
27function dragEnter(event) {
28 if (!event.target.classList.contains("dropped")) {
29 event.target.classList.add("droppable-hover");
30 }
31}
32
33function dragOver(event) {
34 if (!event.target.classList.contains("dropped")) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected