[📖] An example or cookbook of how to do drag and drop interactions
Suggestion
It's a pretty common set of interactions and given that Builder literally is a drag and drop CMS it seems like Qwik ought to be able to handle drag and drop interactions well; while I know that drag events exist, searching for it in the docs site doesn't really turn much up and it still would be helpful to have examples of what a typical drag and drop workflow would look like in Qwik. Thanks!
Yep, I created an application with drap and drop with Qwik.
You need to do use onDragOver$ / onDragLeave$ / onDrop$ :+1:
A cookbook example will be fantastic.
In my experience, sync$ is needed for accessing to dropped files via ev.dataTransfer.
Could I take this one guys? I've already made a simple example:
@byte-barista Yup, it looks great
I made PR: https://github.com/QwikDev/qwik/pull/7150
Closed by #7150