Hi there!
For my project I just need the svg string generated using QRCodeStyling instance. For now I am using the append method and extracting the svg string from a virtual element.
const qrCode = new QRCodeStyling(options)
const container = document.createElement('div')
qrCode.append(container)
const svg = container.innerHTML
I was wondering if there was a more elegant way of doing this?
Hi there!
For my project I just need the svg string generated using
QRCodeStylinginstance. For now I am using the append method and extracting the svg string from a virtual element.I was wondering if there was a more elegant way of doing this?