摘要: 1、描述DOM事件捕获的具体流程: window——document——html——body——。。。——目标元素 2、event对象的常见应用 event.preventDefault() 阻止默认事件,如阻止a标签跳转 event.stopPropagation() 阻止冒泡 event.sto 阅读全文
posted @ 2018-03-03 22:19 未知小未来 阅读(170) 评论(0) 推荐(0)