jsPDF
jsPDF copied to clipboard
html2pdf code not working in IE
Basic usecase of html2pdf is not working in IE (11.1715.14393.0CO), I am getting below error. I am using latest code as on October 2017.
message: "Unable to set property '_pageBreakAt' of undefined or null reference" name: "TypeError" number: -2146823281 stack: at html2pdf (http://localhost:4445/framework/utils/ext/jsPDF/html2pdf.js:52:2)
Below is the snippet of code failing (line # 52)
pdf.context2d._pageBreakAt = function(y) { this.pageBreaks.push(y); };