Skip to content

Drag & Drop Functionality? #64

@lucenta

Description

@lucenta

Is there anyway to add drag & drop functionality from the web GUI to native OS?

I'm using CHOC as the UI for a JUCE application & unfortunately it seems that using a webview overrides any ability to listen to mouse events on the JUCE side, thus negating the ability to handle any drag and drop from JUCE itself.

I'm attempting to drag files (stored locally) from the web view UI to the native OS (i.e folder, DAW, etc.).

Countless forums online left me at a dead end to implementing this on the javascript side. I see electron has this functionality https://www.electronjs.org/docs/latest/tutorial/native-file-drag-drop

Is it possible to implement something similar here?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions