We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Umm... I would like to use a "custom" icon for download link, but didn't find an efficient solution.
import QRCode from 'vue3-qr-code-styling' <QRCode ButtonName="proper length as my logo" > </QRCode>
I tried
.my-button { background-image: url('../assets/logo.png'); <- this is my icon background-repeat: no-repeat; margin-top:1rem !important; margin-left:1rem !important; background-size: 20px 20px; font-size: 20px; color:white; }
It seems to work, but it shouldn't be the correct solution, maybe there is better way?
BTW, any possible for support tailwind css in myclass and downloadButton ?
The text was updated successfully, but these errors were encountered:
check this downloadButton is for button class so you can :downloadButton="my-button"
downloadButton
:downloadButton="my-button"
<div v-if="imageUrl" :class="myclass"> <img :src="imageUrl" :class="imgclass" /> </div> <div v-if="download"> <button @click="onDownloadClick" :class="downloadButton"> {{ ButtonName }} </button> <br /> <br /> </div> </div>
Sorry, something went wrong.
Thanks for your speedy reply! And there is no image attribute binding option like below?
<img :src="buttonOption" />
No branches or pull requests
Umm... I would like to use a "custom" icon for download link, but didn't find an efficient solution.
I tried
It seems to work, but it shouldn't be the correct solution, maybe there is better way?
BTW, any possible for support tailwind css in myclass and downloadButton ?
The text was updated successfully, but these errors were encountered: