事件对象event

每个事件都有默认事件event对象

e.target 事件目标对象
e.keycode 键码
e.stopPropogation();//阻止默认事件

 

posted @ 2018-11-14 16:46  python传言  阅读(140)  评论(0编辑  收藏  举报