In our webapp, user selects a PDF file using input element, we save the PDF file to indexedDB for further needs.
After a while, some users want to export the PDF file from the browser to their computers, just like downloading the file. We really have no idea how to do this. we assume it is doable, but can not find tutorial or demo code about it.
We have done our research, but most posts we found are about how to convert Blob to File, not really what we want. So they are not helpful at all.
Can you guys please give us some helps? Thanks