qrcodejs icon indicating copy to clipboard operation
qrcodejs copied to clipboard

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

Open Deja-vuuu opened this issue 4 years ago • 2 comments

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

Deja-vuuu avatar Sep 29 '20 08:09 Deja-vuuu

image you can try this , onSeccess change to callback,if you want image address ,you can change more js

zhangtingwz avatar Nov 09 '20 02:11 zhangtingwz

Any change to have a callback / success method now ?

pyjacques avatar Jun 23 '22 10:06 pyjacques