We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60adeb4 commit 6511970Copy full SHA for 6511970
src/libs/ParallaxController.js
@@ -4,6 +4,15 @@ import {
4
testForPassiveScroll,
5
} from '../utils/index';
6
7
+/**
8
+ *
9
+ * The global controller for setting up window scroll/resize
10
+ * listeners, managing and caching parallax element positions,
11
+ * determining which elements are inside the viewport based on
12
+ * scroll position, and then updating parallax element styles
13
+ * based on min/max offsets and current scroll position.
14
15
+ */
16
function ParallaxController() {
17
18
// All parallax elements to be updated
0 commit comments