Crates.io | bevy_web_file_drop |
lib.rs | bevy_web_file_drop |
version | 0.0.6 |
source | src |
created_at | 2024-01-03 05:32:17.525482 |
updated_at | 2024-08-20 05:00:15.115751 |
description | Bevy plugin adding better support for drag and drop files in the web. |
homepage | |
repository | https://github.com/kayhhh/bevy_web_file_drop |
max_upload_size | |
id | 1087058 |
size | 23,659 |
Bevy plugin adding better support for drag and drop files in the web. Bevy has built in drag and drop events, but they cause a panic when used in a web build and don't cancel the default browser behavior. This plugin adds some custom JavaScript glue around the canvas to catch these events and relay them to Bevy.