arco-design-vue
arco-design-vue copied to clipboard
feat(image-preview): support wheel zoom and add zoom transition
Types of changes
- [x] New feature
- [ ] Bug fix
- [ ] Enhancement
- [x] Component style change
- [ ] Typescript definition change
- [ ] Documentation change
- [ ] Coding style change
- [ ] Refactoring
- [ ] Test cases
- [ ] Continuous integration
- [ ] Breaking change
- [ ] Others
Background and context
image-preview不支持滚轮缩放且没有缩放动画
Solution
为image-preview加入滚轮缩放与缩放动画
How is the change tested?
Changelog
| Type | Component | Changelog(CN) | Changelog(EN) | Related issues |
|---|---|---|---|---|
| Feat | image-preview |
支持滚轮缩放 | support wheel zoom | #1428 |
| Style | image-preview |
增加缩放动画 | add zoom transition | #1428 |
Checklist:
- [ ] Test suite passes (
npm run test) - [ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
- [ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to
featurebranch and others should be submitted tomainbranch)