angular.js - angularjs怎么调用浏览器的打印工具打印页面
PHPz
PHPz 2017-05-15 17:12:58
0
3
1058

angularjs怎么调用浏览器的打印工具打印当前页面,只要弹出打印设置或者打印预览就好了,求大神指教



感谢各位,再追问一句,window.print()弹出的是打印设置,可以让打印预览弹出吗?

PHPz
PHPz

学习是最好的投资!

reply all(3)
洪涛

window.print()

This is an online example
http://www.runoob.com/try/try...

左手右手慢动作

angular To put it bluntly, it is JS.

小葫芦

Use the print method of html
http://www.w3school.com.cn/js...

You can control the printing content through css print

http://www.css88.com/archives...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template