addEventListener绑定事件的时候,事件回调函数里的this应该是指向产生事件的DOM元素,但是可以通过函数绑定修改this指向,特意写了个bind函数,但是不知道为什么不起作用?
Document
hello
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
看我的这篇博客 http://segmentfault.com/a/1190000003952832