/html-to-pdf

收藏html页面转pdf和base64

Primary LanguageJavaScript

将html元素转换成pdf文件


转换步骤如下: 使用html2canvas将dom元素转换成canvas对象,然后再使用jspdf将canvas图像转换成pdf文件