1.冒泡事件addEventListener
通常只会知道使用事件addEventListener为false时时冒泡,为true时是捕获
2.冒泡事件很多,记住其他不支持冒泡的事件就好了
1、focus
2、blur
3、mouseenter
4、mouseleave
5、load
6、unload
7、resize
微信扫一扫
通常只会知道使用事件addEventListener为false时时冒泡,为true时是捕获
1、focus
2、blur
3、mouseenter
4、mouseleave
5、load
6、unload
7、resize
相关推荐