openMultiple
Opens a file picker WITHOUT blocking. The files can be accessed by calling wasmFileUploadedMultiple with the same id
This function does nothing in non-wasm builds
Parameters
- id:dvui.Id
- dvui.Id
- opts:DialogOptions
- DialogOptions
Source
Implementation
pub fn openMultiple(id: dvui.Id, opts: DialogOptions) void {
if (comptime dvui.backend.kind != .web) return;
dvui.backend.openFilePicker(id, opts.accept, true);
}