expose the ID of the dragged element so it can be styled or manipulated imperatively
See original GitHub issue
Top Results From Across the Web
Draggable - dnd-kit – Documentation
The id argument is a string that should be a unique identifier, meaning there should be no other draggable elements that share that...
Read more >Setting a custom ghost image when using HTML5 drag and drop
In the HTML5 spec it's possible to make elements drag-and-drop-able. This is not new ... When you drag a thing, what gets dragged...
Read more >isaacHagoel/svelte-dnd-action - GitHub
An action based drag and drop container for Svelte - GitHub ... If what you are after is altering styles, do it to...
Read more >Using the HTML5 Drag and Drop API - web.dev
The HTML5 Drag and Drop API means that we can make almost any element on our page draggable. In this post we'll explain...
Read more >How to Create and Manipulate DOM Nodes in Vanilla JS
Therefore, this is the first part of the article. In the first part, we will cover DOM node creation and focus on manipulating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@tomasmoose I’ve made and release this change. thanks.
Hi @isaacHagoel, exposing
idwould also work from my side, and yes sounds a lot simpler and cleaner solution so would go forward with that, from my side just grabbing the element withgetElementByIdor similar would work perfectly!