Convert html to pdf in javascript

<script src="https://raw.githack.com/eKoopmans/html2pdf/master/dist/html2pdf.bundle.js"></script> <script> document .getElementById("jsPrintAll") .addEventListener("click", function download() { const element = document.getElementById("print"); html2pdf() .from(element) .save(); }); </script>
Deepak Sharma
Asked 02-06-2024
12

Submit your answer