scholtz / qrcode-vue3

MIT License
86 stars 32 forks source link

Get Base 64 string #1

Closed NaturalDevCR closed 3 years ago

NaturalDevCR commented 3 years ago

First than all, I have to say, THANKS A LOT, you fixed the diadal version, this just works amazingly easy...

So, how could we get the base 64 string from the generated qr code?

NaturalDevCR commented 3 years ago

Nevermind, i just found the way to do it:

You just need to set a ref for the element, and then you can get it like this:

myRef.value.imageUrl

Thans again for this!