JavaScript/Html2canvas (1) 썸네일형 리스트형 html2canvas를 이용하여 프린트하기 html2canvas(document.getElementById("id")).then(function(canvas) { //document.body.appendChild(canvas) var dataUrl = canvas.toDataURL(); //attempt to save base64 string to server using this var var windowContent = ''; windowContent += ''; windowContent += ''; windowContent += '' windowContent += ''; windowContent += ''; windowContent += ''; var printWin = window.open('','','width=800,height=800'.. 이전 1 다음