qrcodejs
qrcodejs copied to clipboard
With onSuccess method, you can get the generated image address.
this.qrCode = new QRCode(
document.getElementById('qr'),
{
text: '',
width: 300,
height: 300,
onSuccess: (value) => {
console.log('value', value);
}
}
);
you can try this , onSeccess change to callback,if you want image address ,you can change more js
Any change to have a callback / success method now ?