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

Is there a way to exclude a specific dom element from PDF? #713

Closed
jimmleon opened this issue Jul 29, 2024 · 1 comment
Closed

Is there a way to exclude a specific dom element from PDF? #713

jimmleon opened this issue Jul 29, 2024 · 1 comment

Comments

@jimmleon
Copy link

jimmleon commented Jul 29, 2024

Adding @media print rules doesn't seem to work.
Is there any way to hide an element from the generated PDF?

@prasenjitDigitalFriend
Copy link

prasenjitDigitalFriend commented Sep 14, 2024

use 'data-html2canvas-ignore' attribute on that Element, it will work

@jimmleon jimmleon closed this as completed Nov 8, 2024
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