davidshimjs/qrcodejs

With onSuccess method, you can get the generated image address.

Deja-vuuu opened this issue · 2 comments

this.qrCode = new QRCode(
    document.getElementById('qr'),
    {
        text: '',
        width: 300,
        height: 300,
        onSuccess: (value) => {
            console.log('value', value);
        }
    }
);

image
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 ?