bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Before generate image I need change element style or other properties,can provide same function support feature

jiangdefu opened this issue · comments

Expected Behavior

I'd like to have a callback when the DOM node has been cloned.

Possible Solution

html2canvas (https://html2canvas.hertzen.com/configuration) provides an onclone callback that has the benefit of allowing modifications to the DOM.

Additional Context

👋 @jiangdefu

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.