I want to use html2canvas JS library in my application. I were able to use older versions of html2canvas in my application by directly loading html2canvas.js file in my HTML file.
But newer versions are supported only through npm packages.
When I try to include newer html2canvas.js in my HTML file, it says
html2canvas is not defined
I had tried to modify html2canvas.js file, so that I can directly use it in my HTML file, without using any other package manager or other dependencies.
I had downloaded html2canvas from here. I am unbale to use it by loading this file directly in HTML file. as below
<script type="text/javascript" src="js/html2canvas.js"></script>