Items 1-12 out of 19652 displayed
Thanks to Pawel Fus for the nod in the right direction, we got this working using canvg.js, which temporarily replaces the svg with a canvas before calling html2canvas.
The final issue...
You need to check the length of the item and the stored longest string.
if (arr.length > longest.length) {
// ^^^^^^^ ^^^^^^^
Just another...
You can use the express instance to store and retrieve variables. In this case, you can set the title to be "My Site" and retrieve it later with something like
var title...
I had this same issue with AngularJS 1.6.1. When I called my HTTP GET service from the browser or from window.open(url)
, the xlsx file was downloaded perfectly: 304628 bytes....
var image = new Image();
image.src = $(this).attr("src");
alert('width: ' + image.naturalWidth + ' and height: ' + image.naturalHeight);
This approach doesn't...