New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download link #3
Comments
It should be possible. I would like to know which is your use case, however. Right now you just have to right click on the QR code and choose "Save image as...". Could you please explain a use case when a download on click would be required? How would the user know that the code will be downloaded on click? I've some UX concerns when it comes to this. |
I will close this issue, waiting for a generic use case. |
here is a quick solution, part of the solution was found here (davidshimjs/qrcodejs#160): Add following code into QRCode.vue at the end of mounted() :
|
sometimes non-technical users won't understand that it is possible to download the image by right clicking on it and in terms of ui it is easier and quicker to download in one click on a button that on the image, added the solution above, if you wish add it into the library |
Thanks for the feedback @abzal0 , I have reopened this feature request. The code should be adapted to allow some level of customization, such as:
I can't do it myself at this time, but pull requests are welcome! |
I am closing this issue. If there is nothing telling the user what will happen on click, this would be a problem for the UX. Furthermore, this can easily be implemented from your own javascript. |
I was wondering if its possible to when you click on the qrcode it will initiate a download of the code as a image. But it should open in a new tab.
The text was updated successfully, but these errors were encountered: