hooks icon indicating copy to clipboard operation
hooks copied to clipboard

feat(useHover): add a long-time hover event

Open Luncode opened this issue 5 months ago • 3 comments

[中文版模板 / Chinese template]

🤔 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

Luncode avatar Jul 02 '25 09:07 Luncode

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 02 '25 09:07 CLAassistant

@li-jia-nan @liuyib Hi~ o( ̄▽ ̄)ブ 方便时能帮忙 Review 一下吗 谢谢!

Luncode avatar Jul 07 '25 02:07 Luncode

同学可以把测试文件改为 vitest 的吗?路径为 tests/index.spec.tsx jest 将被移除

ianzone avatar Jul 25 '25 18:07 ianzone