qr-code-styling icon indicating copy to clipboard operation
qr-code-styling copied to clipboard

Listen for changes and display a loading view

Open ChrisCoder9000 opened this issue 3 years ago • 1 comments

While creating the canvas would be nice to display some kind of loading view instead of a blank view

ChrisCoder9000 avatar Nov 13 '22 09:11 ChrisCoder9000

So, I'm not the maintainer, but I was stuck with the same issue, and see that it's possible to await the raw data, via:

qrCode.getRawData("svg").then(data => console.log(data));

That might give you what you need to trigger a loader while you're awaiting it to render.

jzombie avatar Dec 05 '22 03:12 jzombie