How to set the zoom index of the photo when dialog is ready #659
Answered
by
OriettaZimmer
OriettaZimmer
asked this question in
Q&A
-
I want to change the initial zoom ratio. However, I couldn't find the parameter to support it. Now I use zoomTo in the viewed event, which would result in the delay of the photo. May you introduce some elegant method to solve it? |
Beta Was this translation helpful? Give feedback.
Answered by
OriettaZimmer
Jul 16, 2025
Replies: 1 comment
-
fine, I solve this problem. The initial parameters initialCoverage has good effect on it. What I want to emphasize is it couldn't larger than natural size of image (related code is src/js/render.js 226-227). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
OriettaZimmer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fine, I solve this problem. The initial parameters initialCoverage has good effect on it. What I want to emphasize is it couldn't larger than natural size of image (related code is src/js/render.js 226-227).