You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've realised that my naming choices for the API probably wasn't the best it could have been as generateCanvas and generateImage are quite long and since these functions may be generating a QR Code on an existing <canvas> or <img> element it can be quite misleading.
For these reasons I'm considering renaming the functions to simply QRCode.canvas and QRCode.image. I'll only deprecate the existing functions for now as to provide backwards compatibility and I will possibly remove them in a future release.
The text was updated successfully, but these errors were encountered:
I've realised that my naming choices for the API probably wasn't the best it could have been as
generateCanvas
andgenerateImage
are quite long and since these functions may be generating a QR Code on an existing<canvas>
or<img>
element it can be quite misleading.For these reasons I'm considering renaming the functions to simply
QRCode.canvas
andQRCode.image
. I'll only deprecate the existing functions for now as to provide backwards compatibility and I will possibly remove them in a future release.The text was updated successfully, but these errors were encountered: