How to add a footer
cjh-store opened this issue · 3 comments
cjh-store commented
How to add a footer to each page in the case of automatic paging
Zakarya-Netlinks commented
@cjh-store Did you find anything?
MominBinShahid commented
We can add a footer with a little bit of bottom margin (using html-to-pdf-options
) and beforeDownload
method
An example of the automatic paging is given here using beforeDownload method
Another example of a footer at bottom of the page is here as follows:
Use bottom margin by html-to-pdf-options
prop like this
and insert page number with the company name (for example) like this inside the beforeDownload
method (this is an extended version of the example referred to above
Hope it helps
aliwesome commented
How can we add a Vue component for footer and header?