pub fn on_drag(f: impl FnMut(DragEvent) + 'static) -> EventCallback
Add a drag event handler at the document level.
drag
This only has an effect on WASM targets.