Loading JSZip and PDFMake scripts dynamically
Loading JSZip and PDFMake scripts dynamically
smartcore
Posts: 2Questions: 1Answers: 0
JSZip and PDFMake scripts aren't lightweight. Is it possible to load them dynamically on clicking "Export to Excel"/"Export to PDF" button (using jQuery.getScript() or something like this), only when user really needs to use these libraries?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi,
I've added a comment to your discussion about this in github. Let's continue the conversation there, rather than both here and there.
Good point about getScript - I'd forgotten about that.
Allan
OK, thanks Allan! Closing this! I've answered in github. I think that this discussion can be interesting to other users too.