Closed jaimecigna closed 2 years ago
That's probably because pdf.svg()
is asynchronous. Use a for loop with await or something similar.
good idea, i'll give a for loop a try. thanks for the suggestion
That's probably because
pdf.svg()
is asynchronous. Use a for loop with await or something similar.
Thanks for the suggestion, it worked!
I am trying to use SVG2pdf to render multiple SVG's on 1 PDF.
Is this supported??
It doesn't seem to work when I try to use :
pdf.svg()
inside of a forEach loop.Any Help would be appreciated!