Rendering hidden div on canvas


#1

I want to render a selected hidden div on my html template on canvas so that I can generate base64 image from the same. I am using html2canvas JS script but it only works for divisions that are not hidden.

Also, with the ionic applications it is behaving strangely, as it is only capturing the visible area in a scrollable div instead of the whole division as in normal web application. Please help.


#2

Can you provide a codepen?