Skip to content
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

Button names cannot be changed during download #45

Open
tuanpham09 opened this issue Jan 15, 2024 · 1 comment
Open

Button names cannot be changed during download #45

tuanpham09 opened this issue Jan 15, 2024 · 1 comment

Comments

@tuanpham09
Copy link

  • i can't change value name button with `properties: button-name="Download QR code"
    name button: Download
    image
  • desired button name:
    image
@jmzwcn
Copy link

jmzwcn commented Jun 28, 2024

<QRCodeVue3 :value="qrValue" :key="qrValue" :width="200" :height="200" :download="true"
downloadButton="bn-hidden"
function download() {
let bn = document.getElementsByClassName('bn-hidden')[0] as HTMLButtonElement
bn.click()
}

.bn-hidden {
display: none;
}

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

No branches or pull requests

2 participants