hooks
hooks copied to clipboard
feat(useHover): add a long-time hover event
🤔 This is a ...
- [ ] New feature
- [ ] Bug fix
- [x] Site / documentation update
- [ ] Demo update
- [ ] TypeScript definition update
- [ ] Bundle size optimization
- [ ] Performance optimization
- [x] Enhancement feature
- [ ] Internationalization
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Test Case
- [ ] Branch merge
- [ ] Other (about what?)
🔗 Related issue link
close: https://github.com/alibaba/hooks/issues/2666
💡 Background and solution
新增longHoverDuration配置和onLongHover回调函数
📝 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
@li-jia-nan @liuyib Hi~ o( ̄▽ ̄)ブ 方便时能帮忙 Review 一下吗 谢谢!
同学可以把测试文件改为 vitest 的吗?路径为 tests/index.spec.tsx
jest 将被移除