You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIUC html2canvas will make a copy of the DOM that gets passed in and then tries to draw that onto a canvas element.
Now it features ways to ignore some of the elements via a ignoreElements predicate and a specific CSS class.
But is there a way to also filter (white or blacklist) certain CSS classes before rendering to the canvas?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
IIUC
html2canvas
will make a copy of the DOM that gets passed in and then tries to draw that onto a canvas element.Now it features ways to ignore some of the elements via a
ignoreElements
predicate and a specific CSS class.But is there a way to also filter (white or blacklist) certain CSS classes before rendering to the canvas?
Beta Was this translation helpful? Give feedback.
All reactions