Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need examples showing Blazor Drag and Drop API #15670

Closed
ericgrantholland opened this issue Aug 29, 2018 · 3 comments
Closed

Need examples showing Blazor Drag and Drop API #15670

ericgrantholland opened this issue Aug 29, 2018 · 3 comments
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@ericgrantholland
Copy link

Looking for a working example using the Blazor drag and drop API. Specifically, I'm looking for an example of setting HTML elements as dropzones and draggables WITHOUT explicit JS interop. Looking to hook into the Blazor events designed around UIDragEventArgs.

Please note I'm that I'm also looking to set transfer data using blazor C#, but this issue currently being tracked by #5532

@SteveSandersonMS
Copy link
Member

Since this is a usage question, would you mind posting to StackOverflow instead? Hope that's OK!

I think there's a good chance that an end-to-end drag and drop mechanism will probably still involve JS interop right now, but it perhaps others will have already implemented this and may know better.

@sven5
Copy link

sven5 commented Oct 16, 2018

I created a simple example for drag and drop here: Demo

@danroth27
Copy link
Member

@sven5 Nice! It you send us a PR to https://github.com/aspnet/blazor.docs we can add your sample to the Blazor community page.

@mkArtakMSFT mkArtakMSFT transferred this issue from dotnet/blazor Oct 27, 2019
@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Oct 27, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

No branches or pull requests

5 participants