using html2canvas in angular code example
Example 1: html2canvas angular
npm install html2canvas
Example 2: html2canvas angular
html2canvas(document.body).then(function(canvas) {
document.body.appendChild(canvas);
});
npm install html2canvas
html2canvas(document.body).then(function(canvas) {
document.body.appendChild(canvas);
});