Skip to content

Conversation

@IvankoRambo
Copy link

@IvankoRambo IvankoRambo commented May 20, 2020

Callback on onload QR image event.
Something that's really intended to be included here.)

Comment on lines +25 to +34
/**
* Fired when QR image element is loaded
* @param {HTMLElement} QR image DOM element
* @param {string} text to generate QR-code image
* @return {void}
*/
callback: function (image, text) {
console.log('text QR code was created from', text);
console.log('loaded image DOM element', image);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn´t work for me!

Copy link
Author

@IvankoRambo IvankoRambo Jul 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @apfjuliano .
What was the exact problem?)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback function, It's not been fired on my tests when the QRCode is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants