Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Oct 10, 2019
Embed
What would you like to do?
const $btnPrint = document.querySelector("#btnPrint");
$btnPrint.addEventListener("click", () => {
window.print();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment