Answers for "convert html to image laravel"

0

convert html to image laravel

$(function() { 
     $("#btnSave").click(function() { 
        html2canvas($("#widget"), {
        onrendered: function(canvas) {
            theCanvas = canvas;
            document.body.appendChild(canvas);

            // Convert and download as image 
            Canvas2Image.saveAsPNG(canvas); 
            $("#img-out").append(canvas);
            // Clean up 
            //document.body.removeChild(canvas);
        }
    });
});
Posted by: Guest on March-20-2021

Code answers related to "convert html to image laravel"

Browse Popular Code Answers by Language