Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

再固定框图片预览问题 #330

Open
xd15332538931 opened this issue Apr 16, 2024 · 1 comment
Open

再固定框图片预览问题 #330

xd15332538931 opened this issue Apr 16, 2024 · 1 comment

Comments

@xd15332538931
Copy link

再一个固定的框预览图片 如何实现 刚开始加载时 将图片放大1倍 经过一一列操作 点击重置 reset 可以回到刚开始加载时 将图片放大1倍 的样子 原生的reset 事件只能回到刚开始渲染的样子 如何改写reset事件 当渲染的时候先记住此时的状态 后面reset重置时 可以回到将图片放大1倍的样子?

@mirari
Copy link
Owner

mirari commented Apr 16, 2024

自定义按钮参考
https://codepen.io/mirari/pen/ZEXqyPq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants