search

Home  >  Q&A  >  body text

angular.js - How does angularjs call the browser's printing tool to print the page?

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?

PHPzPHPz2779 days ago1084

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-15 17:14:58

    window.print()

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

    reply
    0
  • ringa_lee

    ringa_lee2017-05-15 17:14:58

    angular To put it bluntly, it is JS.

    reply
    0
  • 高洛峰

    高洛峰2017-05-15 17:14:58

    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...

    reply
    0
  • Cancelreply