linwalker / render-html-to-pdf Goto Github PK
View Code? Open in Web Editor NEWrender the webpages to pdf and downlowd
render the webpages to pdf and downlowd
有没有更好的方法?
ie内核浏览器表格不支持border-collapse: collapse;设置后的表格变成无边框
pdf每一页底部都留有一定距离,怎么写呢
RT
can't find variable:promise
如题,我把你的项目在微信内浏览器端运行,点击按钮没反应。然后我在手机内置浏览器运行,下载的格式为.bin的,想问一下微信端能适用这个么。谢谢了。。。
<div class="tit-row" style="float:left">
<span class="main-name">jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj</span>
<span class="full-name">全称:
<span id="fullName" title="">黑龙江哈尔滨111222333</span>
</span>
</div>
比如上面的代码,在页面中显示时好的,导出的pdf中.main-name的内容就会覆盖.full-name中的内容。
因为.main-name中的内容是动态的,没办法设一个固定的宽度。
经过后续测试,在chrome69下存在此问题,在edge浏览器下正常。
把你的DEMO8的代码复制出来运行到项目中,当内容过多时会出现黑屏的情况
when I save the html to pdf, the PDF's backgroundcolor is black, but canvas don't draw the black
我保存pdf的时候pdf的背景是黑色的,但是canvas并没有渲染黑色
jsPDF中使用了promise方法,未兼容ie
如题,导出的pdf能动态设置密码吗?
指定区域生成要怎么实现呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.