hooks icon indicating copy to clipboard operation
hooks copied to clipboard

feat: useSwipeEvent hook

Open Inchill opened this issue 1 year ago • 2 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [x] New feature
  • [ ] Bug fix
  • [ ] Site / documentation update
  • [ ] Demo update
  • [ ] TypeScript definition update
  • [ ] Bundle size optimization
  • [ ] Performance optimization
  • [ ] Enhancement feature
  • [ ] Internationalization
  • [ ] Refactoring
  • [ ] Code style optimization
  • [ ] Test Case
  • [ ] Branch merge
  • [ ] Other (about what?)

🔗 Related issue link

https://github.com/alibaba/hooks/issues/2541

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • [x] Doc is updated/provided or not needed
  • [x] Demo is updated/provided or not needed
  • [x] TypeScript definition is updated/provided or not needed
  • [x] Changelog is provided or not needed

Inchill avatar May 06 '24 09:05 Inchill

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 06 '24 09:05 CLAassistant

一些小建议: 1、滑动距离是不是可以 x, y 分别设置?方便不同方向上的手势回调控制 2、另外抛出禁用手势和解禁手势的方法,避免手势在不需要时能够禁止触发

cold72 avatar Jul 16 '24 06:07 cold72