Skip to main content

set_dropped_file

Function set_dropped_file 

Source
pub fn set_dropped_file(file: DroppedFile)
Expand description

The file the drop being delivered carries: what eventFileName/eventFileSize/eventFileType/ eventFileBytes answer on a tier with no real transfer to read. The host that delivers a drop sets it first (page_host::Drive::DropFile), exactly as a browser’s drop event carries its file into the listener it reaches.