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

can i use this package to print html element not pictures #1

Closed
biloo-dev opened this issue Nov 23, 2020 · 2 comments
Closed

can i use this package to print html element not pictures #1

biloo-dev opened this issue Nov 23, 2020 · 2 comments

Comments

@biloo-dev
Copy link

hi thank you for your job
i want to use it to print component

2020-11-23_105209

@Imfdj
Copy link
Owner

Imfdj commented Nov 24, 2020

You can use "html2canvas" or "dom-to-image" to get base64-encoded of dom. then can use print([src,base64]:String). hope this helps!

@biloo-dev
Copy link
Author

Thank you for the reply and I will try to work with it thanks

@Imfdj Imfdj closed this as completed Dec 4, 2020
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