Open mesqueeb opened 4 years ago
I am trying to make it work on Capacitor. This is the snippet I try:
html2pdf().from(document.querySelector('.page-proposal-energy-simulation-graphs')).using({ //jsPdf: { }, html2canvas: { windowWidth: 974, width: 974 }, }).output('blob').then(blob => console.log(blob))
Then I wanted to try and open the blob in an in-app browser.
However, during the output() command seems to not work on Capacitor. I get this:
output()
Unhandled Promise Rejection: undefined
This is during the save. At that point my capacitor screen flickers and gets refreshed as well.
Any news on this?
any update on this? @FlueschPluesch @mesqueeb
Any update on this? @mesqueeb
I gave up long ago lol
I am trying to make it work on Capacitor. This is the snippet I try:
Then I wanted to try and open the blob in an in-app browser.
However, during the
output()
command seems to not work on Capacitor. I get this:This is during the save. At that point my capacitor screen flickers and gets refreshed as well.