HCLacids / resume

1 stars 0 forks source link

JS:e.target和e.currentTarget区别 #34

Open HCLacids opened 2 years ago

HCLacids commented 2 years ago

e.target指向的是触发事件的元素;

e.currentTarget指向的是添加监听事件的元素;