hooks icon indicating copy to clipboard operation
hooks copied to clipboard

feat: add useMouseInElement hook

Open zhuyue6 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

#2615

💡 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

zhuyue6 avatar Jul 30 '24 14:07 zhuyue6

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jul 30 '24 14:07 CLAassistant

emm,一般我们判断鼠标是否在一个元素上,以及拿到他的回到,不是直接监听这个元素的 mouseover,mouseleave/mouseout 就可以了么,你这个判断方式的作用是什么呢?

crazylxr avatar Sep 26 '24 07:09 crazylxr