jsPDF page break

ε祈祈猫儿з 提交于 2019-12-23 12:17:45

问题


I have 2 divs in my page tab1 and tab2.

I would like to export both divs in 1 PDF file with tab1 as the 1st page and tab2 starting from the following page.

Currently the 2nd div appears broken in the exported file hence I would like to have the div appear from the next page.

Any help would be appreciated.


回答1:


Just use <!--ADD_PAGE--> (ADD_PAGE with in commented angular <> braces) from where you want new page. It works.



来源:https://stackoverflow.com/questions/36300310/jspdf-page-break

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!