Published March 7, 2021
print() method in the global
// Print full webpage 🖨 window.print();
- Invoking the
window.print()method will open the print dialog to print the full webpage.
See the working code on JSBin