Skip to main content

DROP_TARGET_CANCELS

Constant DROP_TARGET_CANCELS 

Source
pub const DROP_TARGET_CANCELS: &'static [&'static str];
Expand description

The drag events a When a file is dropped on "<sel>": target cancels at registration. A browser makes an element a drop target only while dragenter and dragover are cancelled on it, and performs its own default for an uncancelled drop (it opens the file in the tab).