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

Send component to print as canvas #7

Closed
MariamCast opened this issue Feb 19, 2018 · 3 comments
Closed

Send component to print as canvas #7

MariamCast opened this issue Feb 19, 2018 · 3 comments

Comments

@MariamCast
Copy link

MariamCast commented Feb 19, 2018

Hello!
I'm trying to send my component to print, but what I've searched is that I need to convert it to v-html so I think converting the QR to canvas it would work.
Can anyone help me please?

qrcode :value="value" :options="{size: 200, foreground: 'black'}" v-html="QRcodigo"

that's my code.

@matthelosh
Copy link

HI! @MariamCast , I cant see the qrcode on print preview on chromium.. Did you solve it?

@fengyuanchen
Copy link
Owner

You can try to set the tag prop to 'img'.

@matthelosh
Copy link

matthelosh commented Jun 22, 2018 via email

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

3 participants