Skip to content

filedragdrop, how do I influence my UI with dragn drop? #1893

Answered by ealmloff
WyvernIXTL asked this question in Q&A
Discussion options

You must be logged in to vote

If you would like to accept a file on a specific element, a file input might be better. See this example:

if let Some(file_engine) = &evt.files() {

You can use a hover selector in css to change the appearance of the element while you hover over it

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WyvernIXTL
Comment options

Answer selected by WyvernIXTL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants