Forum Discussion
JohnCooper-be3c
3 years agoCommunity Member
Creating a pdf file from Storyline running under an LMS
I know there are many excellent examples of how to create a pdf file in Storyline using javascript libraries such as jspdf and I have done this successfully in projects compiled for the web...
......
Jürgen_Schoene_
3 years agoCommunity Member
>Yet whenever i add the line "window.jsPDF = window.jspdf.jsPDF" it still doesn't work
have you tested with the UMD (Universal Module Definition) Version?
the UMD Version can used in enviroments without modules ("Raw <script>
loading") - like storyline javascript trigger
result in the browser console
jsPDF (v2.5.1) is initialized