scholtz/qrcode-vue3

Button names cannot be changed during download

Opened this issue · 1 comments

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

<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;
}