how to use html2canvas in angular 6 code example
Example 1: html2canvas angular
import html2canvas from 'html2canvas';
Example 2: html2canvas angular
html2canvas(document.body).then(function(canvas) {
document.body.appendChild(canvas);
});
import html2canvas from 'html2canvas';
html2canvas(document.body).then(function(canvas) {
document.body.appendChild(canvas);
});