Closed ghost closed 3 years ago
Hey! You can use the container
option for this.
My expectation is that the rendered <div>
and <img>
should be placed in #zoom-container
instead of placed in the child nodes of <body>
. Did I make a mistake?
Gotcha, my bad. The zoomed image is appended to the body
and there's no option for that.
Why do you need to append the image to another DOM element?
I just want to embed it into the expected node to achieve other effects. If not, I will think of other ways, thank you
Can I change the position where the node is added? I want to add it to a node![Snipaste_2020-10-26_13-12-55](https://user-images.githubusercontent.com/47672657/97136197-6fe46a00-178d-11eb-9f91-3e84045e0e8a.png)