flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

File Explorer isssue #290

Open Praveen-Nat opened 4 years ago

Praveen-Nat commented 4 years ago

Assigned this to a span tag with id 'test' js: var flow = new Flow({ target: '/ftp/upload/', testChunks: false, permanentErrors: [404, 500, 501], maxChunkRetries: 3, chunkRetryInterval: 5000, simultaneousUploads: 1, chunkSize: 20000000, });

console.log(flow);

flow.assignBrowse(document.getElementById('test'), true, true, {"accept": ".csv,.xls,.xlsx"});

this dosn't open the file explorer

cdhanna commented 4 years ago

I'm seeing a similar issue. Clicking the button assigned to the assignBrowse function does nothing. --edit-- I resolved my issue. In my case, I was using this library in svelte, and was using svelte's component binding to get the reference to the