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.
<!-- ADD_PAGE -->
only works if you're using fromHTML methodpdf.fromHTML();
– Emotional