I am trying to use the JsPdf library to create pdf based on html elements. I want to know if it is possible to do this with the border of the div or if I have to use the doc.line property and essentially draw each line around my div. I.e.
var doc = new jsPDF()
doc.line(20, 20, 60, 20)
I would rather use <div style="border: solid; width: 300px ">
Is anyone lucky with this?
Here is my fiddle
source
share