jsPDF addHTML get full contents of scrolling element
How do I get jsPDF to create an image/pdf from an element that has overflow set so that it has scrollbars. The following example pasted into the addHTML Have a Play page (http://mrrio.github.io/jsPDF/) will only generate a pdf for the section of the div that is showing, even if I choose the "middle" div: var outer = document.createElement('div'); outer.style.height = "100px"; outer.style.overflow = "scroll"; var middle = document.createElement('div'); for ( var i=0; i<35;i++ ) { var inner = document.createElement('div'); inner.style.border = "thick solid #0000ff"; inner.style.padding = "10px";
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.