浏览器点击事件不能通过插件来写吗?自己写的addEventListener touch感觉会有问题啊
Open
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 441
- PR merge metrics
- No merged PRs in 30d
Description
给生成的dom节点设置touchstart事件会跟插件事件冲突,touchend也有事件,怎么判断他是点了轮播图,还是滑动轮播图,这个插件交给用户去做吗?
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named; begin by locating the generated DOM touchstart and touchend handling and reproducing the interaction with a tap and a swipe. Review how plugin events interact with user addEventListener handlers, then define the expected public behavior for distinguishing carousel taps from swipes before proposing implementation or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100