0.0.9 • Published 4 years ago
element2image v0.0.9
Element2image
Util tool that expands on html2canvas. By default, this will capture an entire content of the html element regardless of the visible area.
Usage
npm install -S html2canvas npm install -S element2image
Available methods
or
let canvas = await html2image.getImageAsCanvas(htmlelement); document.body.appendChild(canvas);
</pre>
</li>
</uL>
</li>
Options
- will download a screencapture of htmlelement as myCapturedImage.png
</pre> </td>