Skip to content
#

preventdefault

Here are 27 public repositories matching this topic...

In this little JavaScript demo application, I used event listeners and specifically drag and drop events. I added and removed event listeners and get data out of the event object. Besides, I used the preventDefault method and controlled my events according to the capturing and bubble phases with stopPropagation and event delegation for example.

  • Updated Oct 14, 2023
  • JavaScript

Improve this page

Add a description, image, and links to the preventdefault topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the preventdefault topic, visit your repo's landing page and select "manage topics."

Learn more