Closed lekhnath closed 8 years ago
Hi, this lib only creates one temporary pdf-file, which will be automatically removed afterwards. You can control this with deleteOnAction
.
You need to delete your input files by your own.
If you think deleting input files is a good feature, please create a PR.
I hope I understood your question correctly. Otherwise please explain it with more detail. Cheers Dustin.
Hoping this is solved. Otherwise please reopen.
This library internally creates temporary files if we provide contents against 'html' , 'css', 'js' fields in option. But they are not removed after generating pdf file. However it provides a path to pdf's temporary file and also an option 'deleteOnAction' (not working for me though) to remove the temporary pdf file. It would be nice to have a
clean
method inPDFResult
class which removes all the auto-generated temporary files including html, css, js, runnings, pdf.