Web-Event-List
DOM 事件处理资料索引
Event Handle
Event Delegation
-
jQuery.delegate is event delegation + selector specification
-
jQuery.on uses event delegation when passed a selector as the 2nd parameter
-
Closures vs Event delegation: takes a look at the pros of not converting code to use event delegation
-
Interesting approach PPK uncovered for delegating the
focus
andblur
events (which do notbubble)
Event Type
Touch Event
DnD | 拖拽事件
-
2015-dragula: Drag and drop so simple it hurts
-
Rethinking drag and drop Taking something basic and making it beautiful
-
2010-Native HTML5 Drag and Drop: Drag and drop (DnD) is a first class citizen in HTML5! The spec defines an event-based mechanism, JavaScript API, and additional markup for declaring that just about any type of element be draggable on a page.
Scroll & Visibility: 滚动事件与可见性
-
react-springy-parallax: A springy, composable parallax-scroller for React.
-
react-waypoint: A React component to execute a function whenever you scroll to an element. Works in all containers that can scroll, including the window.
-
Lucifier129: pull-element: Lightweight, high-performance and smooth pull element effect that support all directions
-
iScroll :高性能的多平台 JS 滚动条
-
jquery.nicescroll:基于 jQuery 的滚动插件
Parallaxing
- 2016-Performant Parallaxing: In this article we’ll discuss a solution that is both performant and, just as importantly, works cross-browser
ScrollSpy | 滚动监听
-
React Visibility Sensor : Sensor component for React that notifies you when it goes in or out of the window viewport.
-
InView: 自动判断某个元素是否在 ViewPort 内
Observer
IntersectionObserver
-
2017-IntersectionObserver’s Coming into View: Making this visibility test more efficient is what IntersectionObserver was designed for.
-
2018-Now You See Me: How To Defer, Lazy-Load And Act With IntersectionObserver: In this article, we are going to go out of the scroll darkness and talk about the modern way of lazy-loading resources.