Exposing the clone functions #163
Closed
wyking1997
started this conversation in
General
Replies: 4 comments 13 replies
-
Sure, we could do something like |
Beta Was this translation helpful? Give feedback.
2 replies
-
If you could give me a simple JSfiddle with an example "adjustment", that
would be great and allow me to build a test
…On Thu, Feb 8, 2024, 01:59 Marius Comiati ***@***.***> wrote:
When do you think we could have a new version of the library with this
change? We would use it as soon as it get's released.
—
Reply to this email directly, view it on GitHub
<#163 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGVMS25MBJT6IP5GVLFWPLYSSAU5AVCNFSM6AAAAABC5KZ4SGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIMBUGQZDM>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
5 replies
-
If this works for you, I'll push a release today. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Released in v3.3.0 https://github.com/1904labs/dom-to-image-more/releases/tag/v3.3.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, do you think you could expose also the clone functions?
I am working with some AgGrid that has some custom scrolling implemented and also have a virtualisation functionality which basically removes the elements that are not in view from the dom. In order to have a nice screenshot I need to manually modify some things in the dom element, and to do it properly, without messing up the actual element, I need to work on clones. The issue is that when I do normal react/js cloning via element.clone(true) the output is not ok, guessing that some css doesn't get coppied. To make this work I copied the clone fct. you guys implemented and everything is fine, however I would like to avoid having it in my codebase if possible. What do you think?
On another note, I think that having the clone exposed would be really nice since if you have it you can make adjustments to the element you are going to screenshot. I really think that this would be a plus for this library.
Beta Was this translation helpful? Give feedback.
All reactions