angular.js - How does angularjs call the browser's printing tool to print the page?
PHPz
PHPz 2017-05-15 17:12:58
0
3
1118

How does angularjs call the browser's printing tool to print the current page? Just pop up the print settings or print preview. Please give me some advice



Thank you everyone, one more question, the window.print() pops up is the print settings, can the print preview pop up?

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