Function silkenweb::document::on_drag

source ·
pub fn on_drag(f: impl FnMut(DragEvent) + 'static) -> EventCallback
Expand description

Add a drag event handler at the document level.

This only has an effect on WASM targets.