|
|
1
6
您可以测试
我在这个链接中找到了这个答案的灵感: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md |
|
|
2
-3
写一个if语句来检查监听器是否附加了“.passive”。 |
|
|
dotnetCarpenter · 如何检查侦听器事件是否为被动事件? 8 年前 |
|
|
john Smith · 包装器div上的Javascript模糊事件 8 年前 |
|
|
xiaolingxiao · 导航到页面后运行javascript 8 年前 |
|
|
dekzok · 这似乎不是一个有效的函数。为什么? 8 年前 |