Function silkenweb::document::on_dragstart

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

Add a dragstart event handler at the document level.

This only has an effect on WASM targets.