JavaScript Event Listeners
event 進階應用 keycode,blur
語法:e.target
快速抓取目前點擊點所在的元素為何 demo: https://codepen.io/michael-luo/pen/KKMayOz?editors=1011
使用 change 來觸發事件 demo: https://codepen.io/michael-luo/pen/pobRpoE?editors=1011
keycode 鍵盤互動 demo: https://codepen.io/michael-luo/pen/VwjPyKg
blur,focus 焦點觸發事件
https://codepen.io/michael-luo/pen/mdERYdV
- mousemove 滑鼠觸發事件
demo: https://codepen.io/michael-luo/pen/QWEdRjO
Comments
Join the discussionNo comments yet. Be the first to comment.

